d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLTextureDescriptor.texture2DDescriptorWithPixelFormat
metal
texture
MTLTextureDescriptor
Creates a texture descriptor object for a 2D texture.
class
MTLTextureDescriptor
static
@
selector
("texture2DDescriptorWithPixelFormat:width:height:mipmapped:")
MTLTextureDescriptor
texture2DDescriptorWithPixelFormat
(
MTLPixelFormat
,
NSUInteger
width
,
NSUInteger
height
,
BOOL
mipmapped
)
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 2D texture.