d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
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
initialize
mipmapLevelCount
pixelFormat
resourceOptions
sampleCount
storageMode
swizzle
textureType
usage
width
static functions
alloc
texture2DDescriptorWithPixelFormat
textureBufferDescriptorWithPixelFormat
textureCubeDescriptorWithPixelFormat
Creates a texture descriptor object for a texture buffer.