Logo
Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::VertexBuffer Class Reference

#include <VertexBuffer.h>

Public Member Functions

 VertexBuffer ()
 
void Release ()
 
void setData (array< VertexPositionTextureColor > ^list)
 
void setData (array< VertexPositionNormalTextureColor > ^list)
 
void setData (System::Collections::Generic::List< VertexPositionNormalMapTexture2Color > ^list)
 
void setData (array< System::Collections::Generic::List< VertexPositionNormalMapTexture2Color >^, 2 > ^list, SharpKmyMath::Vector3 minedge, SharpKmyMath::Vector3 maxedge)
 
void setDataWithoutCompress (array< System::Collections::Generic::List< VertexPositionNormalMapTexture2Color >^, 2 > ^list, SharpKmyMath::Vector3 minedge, SharpKmyMath::Vector3 maxedge)
 
void setData (array< SharpKmyMath::Vector3 > ^list)
 

Public Attributes

kmyGfx::Buffer * vbo
 
kmyGfx::VertexDescriptorHandle vdh = -1
 
int vtxcount
 
int buffersize
 
void * ptr
 
float minCornerX
 
float minCornerY
 
float minCornerZ
 
float maxCornerX
 
float maxCornerY
 
float maxCornerZ
 

Constructor & Destructor Documentation

◆ VertexBuffer()

SharpKmyGfx::VertexBuffer::VertexBuffer ( )

Member Function Documentation

◆ Release()

void SharpKmyGfx::VertexBuffer::Release ( )

◆ setData() [1/5]

void SharpKmyGfx::VertexBuffer::setData ( array< SharpKmyMath::Vector3 > ^  list)

◆ setData() [2/5]

void SharpKmyGfx::VertexBuffer::setData ( array< System::Collections::Generic::List< VertexPositionNormalMapTexture2Color >^, 2 > ^  list,
SharpKmyMath::Vector3  minedge,
SharpKmyMath::Vector3  maxedge 
)

◆ setData() [3/5]

void SharpKmyGfx::VertexBuffer::setData ( array< VertexPositionNormalTextureColor > ^  list)

◆ setData() [4/5]

void SharpKmyGfx::VertexBuffer::setData ( array< VertexPositionTextureColor > ^  list)

◆ setData() [5/5]

void SharpKmyGfx::VertexBuffer::setData ( System::Collections::Generic::List< VertexPositionNormalMapTexture2Color > ^  list)

◆ setDataWithoutCompress()

void SharpKmyGfx::VertexBuffer::setDataWithoutCompress ( array< System::Collections::Generic::List< VertexPositionNormalMapTexture2Color >^, 2 > ^  list,
SharpKmyMath::Vector3  minedge,
SharpKmyMath::Vector3  maxedge 
)

Member Data Documentation

◆ buffersize

int SharpKmyGfx::VertexBuffer::buffersize

◆ maxCornerX

float SharpKmyGfx::VertexBuffer::maxCornerX

◆ maxCornerY

float SharpKmyGfx::VertexBuffer::maxCornerY

◆ maxCornerZ

float SharpKmyGfx::VertexBuffer::maxCornerZ

◆ minCornerX

float SharpKmyGfx::VertexBuffer::minCornerX

◆ minCornerY

float SharpKmyGfx::VertexBuffer::minCornerY

◆ minCornerZ

float SharpKmyGfx::VertexBuffer::minCornerZ

◆ ptr

void* SharpKmyGfx::VertexBuffer::ptr

◆ vbo

kmyGfx::Buffer* SharpKmyGfx::VertexBuffer::vbo

◆ vdh

kmyGfx::VertexDescriptorHandle SharpKmyGfx::VertexBuffer::vdh = -1

◆ vtxcount

int SharpKmyGfx::VertexBuffer::vtxcount