Interface IGorgonVertexBufferInfo
Provides the necessary information required to set up a vertex buffer.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonVertexBufferInfo : IGorgonNamedObject
Remarks
This provides an immutable view of the vertex buffer information so that it cannot be modified after the buffer is created.
Properties
| Edit this page View SourceBinding
Property to return the binding used to bind this buffer to the GPU.
Declaration
VertexIndexBufferBinding Binding { get; }
Property Value
Type | Description |
---|---|
VertexIndexBufferBinding |
SizeInBytes
Property to return the size of the buffer, in bytes.
Declaration
int SizeInBytes { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
This value should be larger than 0, or else an exception will be thrown when the buffer is created.
Usage
Property to return the intended usage for binding to the GPU.
Declaration
ResourceUsage Usage { get; }
Property Value
Type | Description |
---|---|
ResourceUsage |