Synced
RenderBufferUploadDescriptor.Constructor
Section titled “RenderBufferUploadDescriptor.Constructor”
- Creates a frame upload descriptor.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.RenderBufferUploadDescriptor.RenderBufferUploadDescriptor(int elementStride, Inno.Rendering.RenderBufferUsage usage, Inno.Rendering.RenderVertexLayout? vertexLayout = null, Inno.Rendering.RenderIndexFormat indexFormat = Inno.Rendering.RenderIndexFormat.UInt32)Parameters
Section titled “Parameters”Parameter elementStride: Element size in bytes.
Parameter usage: Vertex, index, storage, or compatible combined usage.
Parameter vertexLayout: Required layout when vertex usage is present.
Parameter indexFormat: Index representation when index usage is present.