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

公開メンバ関数

 Render ()
 
 Render (int priority, int width, int height)
 
void Release ()
 
Texture getColorTexture ()
 
Texture getDepthTexture ()
 
void setClearMask (UInt32 mask)
 
void setClearColor (float r, float g, float b, float a)
 
void setViewport (int x, int y, int width, int height)
 
SharpKmyGfx.Color getColor (int x, int y, out float depth)
 
void getColor (int x, int y, int w, int h, UInt32[] buffer)
 
void setViewMatrix (SharpKmyMath.Matrix4 proj, SharpKmyMath.Matrix4 view)
 
void addDrawable (Drawable drawable)
 
void getViewMatrix (ref SharpKmyMath.Matrix4 proj, ref SharpKmyMath.Matrix4 view)
 
bool viewVolumeCheck (SharpKmyMath.Vector3 pos, float radius)
 
void setAmbientColor (SharpKmyMath.Vector3 color)
 
void makeBatchAndDrawCall ()
 
virtual void draw ()
 

静的公開メンバ関数

static Render getDefaultRender ()
 
static Render getRender2D ()
 
static Render getRenderL ()
 
static Render getRenderR ()
 
static void makeBatchAndDrawCallAll ()
 
static bool isSameScene (Render s1, Render s2)
 

公開変数類

bool owned
 

構築子と解体子

◆ Render() [1/2]

SharpKmyGfx.Render.Render ( )

◆ Render() [2/2]

SharpKmyGfx.Render.Render ( int  priority,
int  width,
int  height 
)

メソッド詳解

◆ addDrawable()

void SharpKmyGfx.Render.addDrawable ( Drawable  drawable)

◆ draw()

virtual void SharpKmyGfx.Render.draw ( )
virtual

◆ getColor() [1/2]

void SharpKmyGfx.Render.getColor ( int  x,
int  y,
int  w,
int  h,
UInt32[]  buffer 
)

◆ getColor() [2/2]

SharpKmyGfx.Color SharpKmyGfx.Render.getColor ( int  x,
int  y,
out float  depth 
)

◆ getColorTexture()

Texture SharpKmyGfx.Render.getColorTexture ( )

◆ getDefaultRender()

static Render SharpKmyGfx.Render.getDefaultRender ( )
static

◆ getDepthTexture()

Texture SharpKmyGfx.Render.getDepthTexture ( )

◆ getRender2D()

static Render SharpKmyGfx.Render.getRender2D ( )
static

◆ getRenderL()

static Render SharpKmyGfx.Render.getRenderL ( )
static

◆ getRenderR()

static Render SharpKmyGfx.Render.getRenderR ( )
static

◆ getViewMatrix()

void SharpKmyGfx.Render.getViewMatrix ( ref SharpKmyMath.Matrix4  proj,
ref SharpKmyMath.Matrix4  view 
)

◆ isSameScene()

static bool SharpKmyGfx.Render.isSameScene ( Render  s1,
Render  s2 
)
static

◆ makeBatchAndDrawCall()

void SharpKmyGfx.Render.makeBatchAndDrawCall ( )

◆ makeBatchAndDrawCallAll()

static void SharpKmyGfx.Render.makeBatchAndDrawCallAll ( )
static

◆ Release()

void SharpKmyGfx.Render.Release ( )

◆ setAmbientColor()

void SharpKmyGfx.Render.setAmbientColor ( SharpKmyMath.Vector3  color)

◆ setClearColor()

void SharpKmyGfx.Render.setClearColor ( float  r,
float  g,
float  b,
float  a 
)

◆ setClearMask()

void SharpKmyGfx.Render.setClearMask ( UInt32  mask)

◆ setViewMatrix()

void SharpKmyGfx.Render.setViewMatrix ( SharpKmyMath.Matrix4  proj,
SharpKmyMath.Matrix4  view 
)

◆ setViewport()

void SharpKmyGfx.Render.setViewport ( int  x,
int  y,
int  width,
int  height 
)

◆ viewVolumeCheck()

bool SharpKmyGfx.Render.viewVolumeCheck ( SharpKmyMath.Vector3  pos,
float  radius 
)

メンバ詳解

◆ owned

bool SharpKmyGfx.Render.owned