GpuDevice
Properties
Functions
Returns a command buffer to record one frame's work into. Every acquired buffer must be submitted with CommandBuffer.submit.
Creates a buffer of sizeInBytes bytes for usage.
Creates a pipeline drawing triangle lists with vertex and fragment into a single color target of colorFormat, blended with blend. No vertex buffers: vertex data is pulled from storage buffers by vertex index.
Creates the backend's shader from shader, picking the format this device supports.
Creates an upload staging buffer of sizeInBytes bytes.
Changes how frames are presented into a claimed window.
Returns the pixel format of the swapchain of a claimed window. Pipelines that draw into it must match.
Ends a mapping started with map. The MappedFloats handed out is invalid afterwards.