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

#include <Render.h>

公開メンバ関数

 Render ()
 
 Render (int priority, int width, int height)
 
void Release ()
 
Texture getColorTexture ()
 
Texture getDepthTexture ()
 
void setClearMask (u32 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, float %depth)
 
void getColor (int x, int y, int w, int h, array< UINT32 > ^buffer)
 
void setViewMatrix (SharpKmyMath::Matrix4 proj, SharpKmyMath::Matrix4 view)
 
void addDrawable (Drawable ^drawable)
 
void getViewMatrix (SharpKmyMath::Matrix4 %proj, SharpKmyMath::Matrix4 %view)
 
bool viewVolumeCheck (SharpKmyMath::Vector3 pos, float radius)
 
void setAmbientColor (SharpKmyMath::Vector3 color)
 
void makeBatchAndDrawCall ()
 
virtual void draw ()
 

静的公開メンバ関数

static Render getDefaultRender ()
 
static void makeBatchAndDrawCallAll ()
 
static bool isSameScene (Render ^s1, Render ^s2)
 

公開変数類

bool owned
 
SharpKmyMath::Matrix4 proj
 
SharpKmyMath::Matrix4 view
 

詳解

RenderNX

構築子と解体子

◆ 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]

SharpKmyGfx::Color SharpKmyGfx::Render::getColor ( int  x,
int  y,
float %  depth 
)

◆ getColor() [2/2]

void SharpKmyGfx::Render::getColor ( int  x,
int  y,
int  w,
int  h,
array< UINT32 > ^  buffer 
)

◆ getColorTexture()

Texture SharpKmyGfx::Render::getColorTexture ( )

◆ getDefaultRender()

Render SharpKmyGfx::Render::getDefaultRender ( )
static

ftHg_[擾

◆ getDepthTexture()

Texture SharpKmyGfx::Render::getDepthTexture ( )

◆ getViewMatrix()

void SharpKmyGfx::Render::getViewMatrix ( SharpKmyMath::Matrix4 proj,
SharpKmyMath::Matrix4 view 
)

◆ isSameScene()

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

◆ makeBatchAndDrawCall()

void SharpKmyGfx::Render::makeBatchAndDrawCall ( )

◆ makeBatchAndDrawCallAll()

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 ( u32  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

◆ proj

SharpKmyMath::Matrix4 SharpKmyGfx::Render::proj

◆ view

SharpKmyMath::Matrix4 SharpKmyGfx::Render::view