d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLDevice.newBuffer
metal
metal
MTLDevice
Creates a buffer the method clears with zero values, length is size in bytes.
MTLBuffer
newBuffer
(NSUInteger length, MTLResourceOptions options)
interface
MTLDevice
@
selector
("newBufferWithLength:options:")
MTLBuffer
newBuffer
(
NSUInteger
length
,
MTLResourceOptions
options
)
MTLBuffer
newBuffer
(const(void)* pointer, NSUInteger length, MTLResourceOptions options)
Meta
Source
See Implementation
metal
metal
MTLDevice
functions
argumentBuffersSupport
minimumTextureBufferAlignmentForPixelFormat
name
newBuffer
newCommandQueue
newDefaultLibrary
newDepthStencilStateWithDescriptor
newFence
newIOCommandQueueWithDescriptor
newLibraryWithSource
newRenderPipelineStateWithDescriptor
newSamplerStateWithDescriptor
newTextureWithDescriptor
supportsFamily
supportsTextureSampleCount
Creates a buffer the method clears with zero values, length is size in bytes.