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

#include <InternalCommandBuffer.h>

Public Member Functions

 InternalCommandBuffer ()
 
 ~InternalCommandBuffer ()
 
void drawVertices (PrimitiveType prim, ICBMaterial^ mtl, SharpKmyMath::Matrix4 transform, VertexBuffer^ vb)
 
void drawVertices (PrimitiveType prim, ICBMaterial^ mtl, SharpKmyMath::Matrix4 transform, array< SharpKmyMath::Vector3 >^ data)
 
void drawVertices (PrimitiveType prim, ICBMaterial^ mtl, SharpKmyMath::Matrix4 transform, array< VertexPositionColor >^ data)
 
void drawVertices (PrimitiveType prim, ICBMaterial^ mtl, SharpKmyMath::Matrix4 transform, array< VertexPositionTextureColor >^ data)
 
void execBuffer (InternalCommandList^ icb)
 
InternalCommandList getCommandList ()
 
void copyFramebuffer (Texture^ tex, int x, int y, int w, int h)
 
void clearFramebuffer (float r, float g, float b, float a, bool color, bool depth, bool stencil)
 

Public Attributes

kmyGfx::GameViewDrawCommandBuffer * _obj = nullptr
 

Constructor & Destructor Documentation

◆ InternalCommandBuffer()

SharpKmyGfx::InternalCommandBuffer::InternalCommandBuffer ( )

◆ ~InternalCommandBuffer()

SharpKmyGfx::InternalCommandBuffer::~InternalCommandBuffer ( )

Member Function Documentation

◆ clearFramebuffer()

void SharpKmyGfx::InternalCommandBuffer::clearFramebuffer ( float  r,
float  g,
float  b,
float  a,
bool  color,
bool  depth,
bool  stencil 
)

◆ copyFramebuffer()

void SharpKmyGfx::InternalCommandBuffer::copyFramebuffer ( Texture tex,
int  x,
int  y,
int  w,
int  h 
)

◆ drawVertices() [1/4]

void SharpKmyGfx::InternalCommandBuffer::drawVertices ( PrimitiveType  prim,
ICBMaterial mtl,
SharpKmyMath::Matrix4  transform,
array< SharpKmyMath::Vector3 >^  data 
)

◆ drawVertices() [2/4]

void SharpKmyGfx::InternalCommandBuffer::drawVertices ( PrimitiveType  prim,
ICBMaterial mtl,
SharpKmyMath::Matrix4  transform,
array< VertexPositionColor >^  data 
)

◆ drawVertices() [3/4]

void SharpKmyGfx::InternalCommandBuffer::drawVertices ( PrimitiveType  prim,
ICBMaterial mtl,
SharpKmyMath::Matrix4  transform,
array< VertexPositionTextureColor >^  data 
)

◆ drawVertices() [4/4]

void SharpKmyGfx::InternalCommandBuffer::drawVertices ( PrimitiveType  prim,
ICBMaterial mtl,
SharpKmyMath::Matrix4  transform,
VertexBuffer vb 
)

◆ execBuffer()

void SharpKmyGfx::InternalCommandBuffer::execBuffer ( InternalCommandList icb)

◆ getCommandList()

InternalCommandList SharpKmyGfx::InternalCommandBuffer::getCommandList ( )

Member Data Documentation

◆ _obj

kmyGfx::GameViewDrawCommandBuffer* SharpKmyGfx::InternalCommandBuffer::_obj = nullptr