Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
VideoDX9VertexBuffer Class Reference

#include <VideoDX9VertexBuffer.h>

List of all members.

Public Member Functions

 VideoDX9VertexBuffer (VideoDX9 *dx9, UINT num_verts, UINT vert_size, DWORD format, DWORD usage)
 ~VideoDX9VertexBuffer ()
BYTE * Lock (UINT count)
void Unlock ()
bool Select (int stream=0)
UINT GetNumVerts () const
UINT GetVertSize () const
UINT GetNextVert () const

Detailed Description

Definition at line 22 of file VideoDX9VertexBuffer.h.


Constructor & Destructor Documentation

VideoDX9VertexBuffer::VideoDX9VertexBuffer ( VideoDX9 dx9,
UINT  num_verts,
UINT  vert_size,
DWORD  format,
DWORD  usage 
)

Definition at line 30 of file VideoDX9VertexBuffer.cpp.

VideoDX9VertexBuffer::~VideoDX9VertexBuffer ( )

Definition at line 66 of file VideoDX9VertexBuffer.cpp.


Member Function Documentation

UINT VideoDX9VertexBuffer::GetNextVert ( ) const

Definition at line 155 of file VideoDX9VertexBuffer.cpp.

UINT VideoDX9VertexBuffer::GetNumVerts ( ) const

Definition at line 143 of file VideoDX9VertexBuffer.cpp.

UINT VideoDX9VertexBuffer::GetVertSize ( ) const

Definition at line 149 of file VideoDX9VertexBuffer.cpp.

BYTE * VideoDX9VertexBuffer::Lock ( UINT  count)

Definition at line 74 of file VideoDX9VertexBuffer.cpp.

bool VideoDX9VertexBuffer::Select ( int  stream = 0)

Definition at line 120 of file VideoDX9VertexBuffer.cpp.

void VideoDX9VertexBuffer::Unlock ( )

Definition at line 109 of file VideoDX9VertexBuffer.cpp.


The documentation for this class was generated from the following files: