Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.BufferDescription Struct Reference

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...
 

Detailed Description

Describes a buffer.

Definition at line 8 of file BufferDescription.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.BufferDescription.BufferDescription ( int  sizeInBytes,
BufferFlags  bufferFlags,
GraphicsResourceUsage  usage,
int  structureByteStride = 0 
)

Initializes a new instance of BufferDescription struct.

Parameters
sizeInBytesSize of the buffer in bytes.
bufferFlagsBuffer flags describing the type of buffer.
usageUsage of this buffer.
structureByteStrideThe size of the structure (in bytes) when it represents a structured/typed buffer. Default = 0.

Definition at line 17 of file BufferDescription.cs.

Member Data Documentation

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().


The documentation for this struct was generated from the following file: