d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLTextureDescriptor.width
metal
texture
MTLTextureDescriptor
The width of the texture image for the base level mipmap, in pixels.
NSUInteger
width
()
class
MTLTextureDescriptor
@
selector
("width")
NSUInteger
width
(
)
NSUInteger
width
(NSUInteger )
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
The width of the texture image for the base level mipmap, in pixels.