d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLBuffer.newTextureWithDescriptor
metal
metal
MTLBuffer
Creates a texture that shares its storage with the buffer.
interface
MTLBuffer
@
selector
("newTextureWithDescriptor:offset:bytesPerRow:")
MTLTexture
newTextureWithDescriptor
(
MTLTextureDescriptor
,
NSUInteger
offset
,
NSUInteger
bytesPerRow
)
Meta
Source
See Implementation
metal
metal
MTLBuffer
functions
addDebugMarker
contents
dealloc
didModifyRange
length
newTextureWithDescriptor
release
removeAllDebugMarkers
retain
Creates a texture that shares its storage with the buffer.