OROCHI
 
Loading...
Searching...
No Matches
Utility Class Reference

ユーティリティメソッド More...

#include <GxSysEnvironment.h>

Classes

struct  VertexPositionTexture
 頂点座標データ More...
 

Static Public Member Functions

操作
static void createMipmap (GxRenderTexture *pTexture)
 ミップマップの生成
 
static s32 getMaterialFunctionIndex (GxResShaderPackage *pShaderPackage, GX_HANDLE handleMaterialFunctions, const GxString &materialFunctionName)
 マテリアル関数名からマテリアル関数番号を取得する
 
static void setMaterialFunctions (GxResShaderPackage *pShaderPackage, GxShaderPackage::GxShaderCode *pShaderCode, const GxString &materialName, const GxString &materialFunctionName)
 マテリアル関数を設定する
 
static b32 setShaders (GxResShaderPackage *pShaderPackage, GxShaderPackage::GxShaderCode *pShaderCode)
 シェーダコードの設定
 
static void setSamplerState (GX_HANDLE handle, RENDER_SAMPLER_FILTER min, RENDER_SAMPLER_FILTER mag, RENDER_SAMPLER_FILTER mip, RENDER_SAMPLER_ADDRESS_MODE addressU, RENDER_SAMPLER_ADDRESS_MODE addressV)
 サンプラの設定
 
static void setTexture (GX_HANDLE handle, GxRenderTexture *pTexture, RENDER_SAMPLER_FILTER min, RENDER_SAMPLER_FILTER mag, RENDER_SAMPLER_FILTER mip, RENDER_SAMPLER_ADDRESS_MODE addressU, RENDER_SAMPLER_ADDRESS_MODE addressV)
 テクスチャの設定
 
static GxRenderVertexBuffercreateVertexBufferSphere (s32 xdiv, s32 ydiv, s32 ycount)
 スフィア頂点バッファの生成
 
static GxRenderVertexDeclarationcreateVertexDeclarationSphere (void)
 スフィア頂点定義の生成
 
static GxVector4 getFogParam (f32 startDistance, f32 endDistance, f32 min, f32 max)
 フォグパラメータの生成
 

Detailed Description

ユーティリティメソッド

Member Function Documentation

◆ createMipmap()

void Utility::createMipmap ( GxRenderTexture * pTexture)
static

ミップマップの生成

Parameters
pTexture[in] 描画テクスチャ
Here is the call graph for this function:

◆ createVertexBufferSphere()

GxRenderVertexBuffer * Utility::createVertexBufferSphere ( s32 xDivide,
s32 yDivide,
s32 yCount )
static

スフィア頂点バッファの生成

Parameters
xDivide[in] X軸の分割数
yDivide[in] Y軸の分割数
yCount[in] Yの数
Returns
頂点バッファ
Here is the call graph for this function:

◆ createVertexDeclarationSphere()

GxRenderVertexDeclaration * Utility::createVertexDeclarationSphere ( void )
static

スフィア頂点定義の生成

Returns
頂点宣言

◆ getFogParam()

GxVector4 Utility::getFogParam ( f32 startDistance,
f32 endDistance,
f32 min,
f32 max )
static

フォグパラメータの生成

Parameters
startDistance[in] 開始距離
endDistance[in] 終了距離
min[in] 最小値
max[in] 最大値
Returns
パラメータ
Here is the call graph for this function:

◆ getMaterialFunctionIndex()

s32 Utility::getMaterialFunctionIndex ( GxResShaderPackage * pShaderPackage,
GX_HANDLE handleMaterialFunctions,
const GxString & materialFunctionName )
static

マテリアル関数名からマテリアル関数番号を取得する

Parameters
pShaderPackage[in] シェーダーパッケージ
handleMaterialFunctions[in] 関数ハンドル
materialFunctionName[in] 関数ハンドル名
Returns
マテリアル関数番号
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaterialFunctions()

void Utility::setMaterialFunctions ( GxResShaderPackage * pShaderPackage,
GxShaderPackage::GxShaderCode * pShaderCode,
const GxString & materialName,
const GxString & materialFunctionName )
static

マテリアル関数を設定する

Parameters
pShaderPackage[in] シェーダーパッケージ
pShaderCode[in] シェーダーコード
materialName[in] マテリアル名
materialFunctionName[in] 関数ハンドル名
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSamplerState()

void Utility::setSamplerState ( GX_HANDLE handle,
RENDER_SAMPLER_FILTER min,
RENDER_SAMPLER_FILTER mag,
RENDER_SAMPLER_FILTER mip,
RENDER_SAMPLER_ADDRESS_MODE addressU,
RENDER_SAMPLER_ADDRESS_MODE addressV )
static

サンプラの設定

Parameters
handle[in] ハンドル
min[in] 縮小フィルタ
mag[in] 拡大フィルタ
mip[in] ミップマップフィルタ
addressU[in] U座標のアドレッシングモード
addressV[in] V座標のアドレッシングモード
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShaders()

b32 Utility::setShaders ( GxResShaderPackage * pShaderPackage,
GxShaderPackage::GxShaderCode * pShaderCode )
static

シェーダコードの設定

Parameters
pShaderPackage[in] シェーダーパッケージ
pShaderCode[in] シェーダーコード
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTexture()

void Utility::setTexture ( GX_HANDLE handle,
GxRenderTexture * pTexture,
RENDER_SAMPLER_FILTER min,
RENDER_SAMPLER_FILTER mag,
RENDER_SAMPLER_FILTER mip,
RENDER_SAMPLER_ADDRESS_MODE addressU,
RENDER_SAMPLER_ADDRESS_MODE addressV )
static

テクスチャの設定

Parameters
handle[in] ハンドル
pTexture[in] 描画テクスチャ
min[in] 縮小フィルタ
mag[in] 拡大フィルタ
mip[in] ミップマップフィルタ
addressU[in] U座標のアドレッシングモード
addressV[in] V座標のアドレッシングモード
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: