Logo
公開メンバ関数 | 公開変数類 | 全メンバ一覧
SharpKmyGfx.InternalCommandBuffer クラス

公開メンバ関数

 InternalCommandBuffer ()
 
 InternalCommandBuffer (IntPtr ptr)
 
void begin ()
 
InternalCommandBufferHandle close ()
 
void bindFramebuffer (SharpKmyGfx.Framebuffer fb)
 
void viewport (ushort x, ushort y, ushort w, ushort h)
 
void clearFramebuffer (float r, float g, float b, float a, bool color, bool depth, bool stencil)
 
void setMatrix (SharpKmyMath.Matrix4 proj, SharpKmyMath.Matrix4 view)
 
void storeSystemParameter ()
 
void drawVertices (PrimitiveType prim, ICBMaterial mtl, SharpKmyMath.Matrix4 transform, VertexBuffer vb)
 
void drawVertices (PrimitiveType prim, ICBMaterial mtl, SharpKmyMath.Matrix4 transform, SharpKmyMath.Vector3[] data)
 
void drawVertices (PrimitiveType prim, ICBMaterial mtl, SharpKmyMath.Matrix4 transform, VertexPositionColor[] data)
 
void drawVertices (PrimitiveType prim, ICBMaterial mtl, SharpKmyMath.Matrix4 transform, VertexPositionTextureColor[] data)
 
void drawModelInstance (ModelInstance mdl, Material mtl, ShaderPass pass, bool ditherTranslucent)
 
void drawGeometry (GeometryInstance gi, Material mtl, ShaderPass pass, bool ditherTranslucent)
 
void drawGeometries (System.Func< GeometryInstance, bool > filter, Material mtl, ShaderPass pass, bool ditherTranslucent)
 
void drawScreen (Material mtl)
 
void copyFramebuffer (Texture tex, int x, int y, int w, int h)
 
void execImmediate ()
 

公開変数類

IntPtr _obj = IntPtr.Zero
 

構築子と解体子

◆ InternalCommandBuffer() [1/2]

SharpKmyGfx.InternalCommandBuffer.InternalCommandBuffer ( )

◆ InternalCommandBuffer() [2/2]

SharpKmyGfx.InternalCommandBuffer.InternalCommandBuffer ( IntPtr  ptr)

メソッド詳解

◆ begin()

void SharpKmyGfx.InternalCommandBuffer.begin ( )

◆ bindFramebuffer()

void SharpKmyGfx.InternalCommandBuffer.bindFramebuffer ( SharpKmyGfx.Framebuffer  fb)

◆ clearFramebuffer()

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

◆ close()

InternalCommandBufferHandle SharpKmyGfx.InternalCommandBuffer.close ( )

◆ copyFramebuffer()

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

◆ drawGeometries()

void SharpKmyGfx.InternalCommandBuffer.drawGeometries ( System.Func< GeometryInstance, bool >  filter,
Material  mtl,
ShaderPass  pass,
bool  ditherTranslucent 
)

◆ drawGeometry()

void SharpKmyGfx.InternalCommandBuffer.drawGeometry ( GeometryInstance  gi,
Material  mtl,
ShaderPass  pass,
bool  ditherTranslucent 
)

◆ drawModelInstance()

void SharpKmyGfx.InternalCommandBuffer.drawModelInstance ( ModelInstance  mdl,
Material  mtl,
ShaderPass  pass,
bool  ditherTranslucent 
)

◆ drawScreen()

void SharpKmyGfx.InternalCommandBuffer.drawScreen ( Material  mtl)

◆ drawVertices() [1/4]

void SharpKmyGfx.InternalCommandBuffer.drawVertices ( PrimitiveType  prim,
ICBMaterial  mtl,
SharpKmyMath.Matrix4  transform,
SharpKmyMath.Vector3[]  data 
)

◆ drawVertices() [2/4]

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

◆ drawVertices() [3/4]

void SharpKmyGfx.InternalCommandBuffer.drawVertices ( PrimitiveType  prim,
ICBMaterial  mtl,
SharpKmyMath.Matrix4  transform,
VertexPositionColor[]  data 
)

◆ drawVertices() [4/4]

void SharpKmyGfx.InternalCommandBuffer.drawVertices ( PrimitiveType  prim,
ICBMaterial  mtl,
SharpKmyMath.Matrix4  transform,
VertexPositionTextureColor[]  data 
)

◆ execImmediate()

void SharpKmyGfx.InternalCommandBuffer.execImmediate ( )

◆ setMatrix()

void SharpKmyGfx.InternalCommandBuffer.setMatrix ( SharpKmyMath.Matrix4  proj,
SharpKmyMath.Matrix4  view 
)

◆ storeSystemParameter()

void SharpKmyGfx.InternalCommandBuffer.storeSystemParameter ( )

◆ viewport()

void SharpKmyGfx.InternalCommandBuffer.viewport ( ushort  x,
ushort  y,
ushort  w,
ushort  h 
)

メンバ詳解

◆ _obj

IntPtr SharpKmyGfx.InternalCommandBuffer._obj = IntPtr.Zero