d-metal-binding v1.0.4 (2023-03-15T23:34:54Z)
Dub
Repo
MTLTextureDescriptor.textureBufferDescriptorWithPixelFormat
metal
texture
MTLTextureDescriptor
Creates a texture descriptor object for a texture buffer.
class
MTLTextureDescriptor
static
@
selector
("textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:")
MTLTextureDescriptor
textureBufferDescriptorWithPixelFormat
(
MTLPixelFormat
,
NSUInteger
width
,
MTLResourceOptions
resourceOptions
,
MTLTextureUsage
usage
)
Meta
Source
See Implementation
metal
texture
MTLTextureDescriptor
functions
allowGPUOptimizedContents
arrayLength
cpuCacheMode
depth
hazardTrackingMode
height
mipmapLevelCount
pixelFormat
resourceOptions
sampleCount
storageMode
swizzle
textureType
usage
width
static functions
texture2DDescriptorWithPixelFormat
textureBufferDescriptorWithPixelFormat
textureCubeDescriptorWithPixelFormat
Creates a texture descriptor object for a texture buffer.