d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLTexture.replaceRegion
metal
texture
MTLTexture
Copies a block of pixels into a section of texture slice 0.
void
replaceRegion
(MTLRegion region, NSUInteger mipmapLevel, NSUInteger slice, const(void)* withBytes, NSUInteger bytesPerRow, NSUInteger bytesPerImage)
void
replaceRegion
(MTLRegion region, NSUInteger mipmapLevel, const(void)* withBytes, NSUInteger bytesPerRow)
interface
MTLTexture
@
selector
("replaceRegion:mipmapLevel:withBytes:bytesPerRow:")
void
replaceRegion
(
MTLRegion
region
,
NSUInteger
mipmapLevel
,
const
(
void
)*
withBytes
,
NSUInteger
bytesPerRow
)
Meta
Source
See Implementation
metal
texture
MTLTexture
aliases
isFramebufferOnly
isShareable
functions
allowGPUOptimizedContents
arrayLength
buffer
bufferBytesPerRow
compressionType
depth
firstMipmapInTail
framebufferOnly
getBytes
height
isSparse
mipmapLevelCount
newRemoteTextureViewForDevice
newTextureViewPixelFormat
newTextureViewWithPixelFormat
offset
parentRelativeLevel
parentRelativeSlice
parentTexture
pixelFormat
remoteStorageTexture
replaceRegion
sampleCount
shareable
swizzle
tailSizeInBytes
textureType
usage
width
Copies a block of pixels into a section of texture slice 0.