d-metal-binding ~master (2026-08-26T11:27:33.1656625)
Dub
Repo
MTLBuffer.newTextureWithDescriptor
metal
metal
MTLBuffer
Creates a texture that shares its storage with the buffer.
interface
MTLBuffer
@
nogc
nothrow
@
selector
("newTextureWithDescriptor:offset:bytesPerRow:")
MTLTexture
newTextureWithDescriptor
(
MTLTextureDescriptor
,
NSUInteger
offset
,
NSUInteger
bytesPerRow
)
Meta
Source
See Implementation
metal
metal
MTLBuffer
functions
addDebugMarker
contents
didModifyRange
length
newTextureWithDescriptor
removeAllDebugMarkers
mixins
__anonymous
Creates a texture that shares its storage with the buffer.