Public Member Functions | Public Attributes

Tiny2D::Shape::VertexStream Struct Reference

Vertex stream decription. More...

#include <Tiny2D.h>

List of all members.

Public Member Functions

 VertexStream ()
 Constructs empty vertex stream.
 VertexStream (const void *data, VertexFormat format, int count, bool isNormalized, VertexUsage usage, int usageIndex, int stride)
 Constructs vertex stream.

Public Attributes

const void * data
 Vertex data.
VertexFormat format
 Vertex format.
int count
 Number of vertices.
bool isNormalized
 Is vertex format normalized? (either to -1..1 or 0..1)
VertexUsage usage
 Vertex usage.
int usageIndex
 Vertex usage index.
int stride
 Vertex stride (difference in bytes between the beginning of 2 vertices)

Detailed Description

Vertex stream decription.


Constructor & Destructor Documentation

Tiny2D::Shape::VertexStream::VertexStream (  )

Constructs empty vertex stream.

Tiny2D::Shape::VertexStream::VertexStream ( const void *  data,
VertexFormat  format,
int  count,
bool  isNormalized,
VertexUsage  usage,
int  usageIndex,
int  stride 
)

Constructs vertex stream.


Member Data Documentation

Number of vertices.

Vertex data.

Vertex format.

Is vertex format normalized? (either to -1..1 or 0..1)

Vertex stride (difference in bytes between the beginning of 2 vertices)

Vertex usage.

Vertex usage index.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines