![]() |
Paradox Game Engine
v1.0.0 beta06
|
Describes a buffer. More...
Public Member Functions | |
BufferDescription (int sizeInBytes, BufferFlags bufferFlags, GraphicsResourceUsage usage, int structureByteStride=0) | |
Initializes a new instance of BufferDescription struct. More... | |
Public Attributes | |
int | SizeInBytes |
Size of the buffer in bytes. More... | |
BufferFlags | BufferFlags |
Buffer flags describing the type of buffer. More... | |
GraphicsResourceUsage | Usage |
Usage of this buffer. More... | |
int | StructureByteStride |
The size of the structure (in bytes) when it represents a structured/typed buffer. More... | |
Describes a buffer.
Definition at line 8 of file BufferDescription.cs.
SiliconStudio.Paradox.Graphics.BufferDescription.BufferDescription | ( | int | sizeInBytes, |
BufferFlags | bufferFlags, | ||
GraphicsResourceUsage | usage, | ||
int | structureByteStride = 0 |
||
) |
Initializes a new instance of BufferDescription struct.
sizeInBytes | Size of the buffer in bytes. |
bufferFlags | Buffer flags describing the type of buffer. |
usage | Usage of this buffer. |
structureByteStride | The size of the structure (in bytes) when it represents a structured/typed buffer. Default = 0. |
Definition at line 17 of file BufferDescription.cs.
BufferFlags SiliconStudio.Paradox.Graphics.BufferDescription.BufferFlags |
Buffer flags describing the type of buffer.
Definition at line 33 of file BufferDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.Data.BufferDataConverter.ConvertToData().
int SiliconStudio.Paradox.Graphics.BufferDescription.SizeInBytes |
Size of the buffer in bytes.
Definition at line 28 of file BufferDescription.cs.
int SiliconStudio.Paradox.Graphics.BufferDescription.StructureByteStride |
The size of the structure (in bytes) when it represents a structured/typed buffer.
Definition at line 43 of file BufferDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.Data.BufferDataConverter.ConvertToData().
GraphicsResourceUsage SiliconStudio.Paradox.Graphics.BufferDescription.Usage |
Usage of this buffer.
Definition at line 38 of file BufferDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.Data.BufferDataConverter.ConvertToData().