d-metal-binding v1.0.4 (2023-03-15T23:34:54Z)
Dub
Repo
MTLDevice.newTextureWithDescriptor
metal
metal
MTLDevice
Creates a new texture instance.
class
MTLDevice
@
selector
("newTextureWithDescriptor:")
MTLTexture
newTextureWithDescriptor
(
MTLTextureDescriptor
descriptor
)
Meta
Source
See Implementation
metal
metal
MTLDevice
functions
newBuffer
newCommandQueue
newDefaultLibrary
newIOCommandQueueWithDescriptor
newLibraryWithSource
newRenderPipelineStateWithDescriptor
newSamplerStateWithDescriptor
newTextureWithDescriptor
supportsTextureSampleCount
Creates a new texture instance.