OROCHI
 
Loading...
Searching...
No Matches
GxShaderPackage::GxShaderCode Struct Reference

シェーダコード More...

#include <GxShaderPackage.h>

Collaboration diagram for GxShaderPackage::GxShaderCode:

Public Member Functions

アクセサ
constexpr GxShaderPackagegetShaderPackage (void) const
 関連付けられたシェーダパッケージを取得
 
GX_FORCE_INLINE u32 getProgramFunctions (GX_HANDLE handle)
 プログラムで設定する関数の取得
 
GX_FORCE_INLINE void setProgramFunctions (GX_HANDLE handle, u32 value)
 プログラムで設定する関数の設定
 
GX_FORCE_INLINE u32 getMaterialFunctions (GX_HANDLE handle)
 マテリアルで設定する関数の取得
 
GX_FORCE_INLINE void setMaterialFunctions (GX_HANDLE handle, u32 value)
 マテリアルで設定する関数の設定
 
GX_FORCE_INLINE void setPass (u32 pass)
 パスの設定
 
GX_FORCE_INLINE void * getCodeAddress (void) const
 シェーダコード本体のアドレスを取得
 
GX_FORCE_INLINE const void * getCodeAddressConst (void) const
 シェーダコード本体のアドレスを取得
 
GX_FORCE_INLINE u32 getSize (void) const
 ヘッダを除くサイズを取得
 

Public Attributes

メンバ変数
GxShaderCodeHeader _header
 ヘッダ
 

操作

static GX_FORCE_INLINE b32 compare (const GxShaderCode *pShaderCode0, const GxShaderCode *pShaderCode1)
 比較
 
static GX_FORCE_INLINE b32 compareWithOptimizedData (const GxShaderCode *pShaderCode0, const GxShaderCode *pShaderCode1, u32 hash, u8 *pCodeBuffer)
 比較
 
static GX_FORCE_INLINE void copy (GxShaderCode *pDst, const GxShaderCode *pSrc)
 コピー
 
GX_FORCE_INLINE void update (void)
 シェーダコード更新
 

Detailed Description

シェーダコード

Member Function Documentation

◆ compare()

GX_FORCE_INLINE b32 GxShaderPackage::GxShaderCode::compare ( const GxShaderCode * pShaderCode0,
const GxShaderCode * pShaderCode1 )
static

比較

Parameters
pShaderCode0[in] シェーダーコード
pShaderCode0[in] シェーダーコード
Returns
一致ならtrue
Here is the call graph for this function:

◆ compareWithOptimizedData()

GX_FORCE_INLINE b32 GxShaderPackage::GxShaderCode::compareWithOptimizedData ( const GxShaderCode * pShaderCode0,
const GxShaderCode * pShaderCode1,
u32 hash,
u8 * pCodeBuffer )
static

比較

Parameters
pShaderCode0[in] シェーダーコード
pShaderCode0[in] シェーダーコード
pCodeBuffer[in] コード領域
Returns
一致ならtrue
Here is the call graph for this function:

◆ copy()

GX_FORCE_INLINE void GxShaderPackage::GxShaderCode::copy ( GxShaderPackage::GxShaderCode * pDst,
const GxShaderCode * pSrc )
static

コピー

Parameters
pDst[in] コピー先
pSrc[in] コピー元
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCodeAddress()

void * GxShaderPackage::GxShaderCode::getCodeAddress ( void ) const

シェーダコード本体のアドレスを取得

Returns
シェーダコード本体のアドレス
Here is the caller graph for this function:

◆ getCodeAddressConst()

const void * GxShaderPackage::GxShaderCode::getCodeAddressConst ( void ) const

シェーダコード本体のアドレスを取得

Returns
シェーダコード本体のアドレス
Here is the caller graph for this function:

◆ getMaterialFunctions()

u32 GxShaderPackage::GxShaderCode::getMaterialFunctions ( GX_HANDLE handle)

マテリアルで設定する関数の取得

Parameters
handle[in] ハンドル
Returns

◆ getProgramFunctions()

u32 GxShaderPackage::GxShaderCode::getProgramFunctions ( GX_HANDLE handle)

プログラムで設定する関数の取得

Parameters
handle[in] ハンドル
Returns

◆ getSize()

u32 GxShaderPackage::GxShaderCode::getSize ( void ) const

ヘッダを除くサイズを取得

Returns
サイズ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaterialFunctions()

void GxShaderPackage::GxShaderCode::setMaterialFunctions ( GX_HANDLE handle,
u32 value )

マテリアルで設定する関数の設定

Parameters
handle[in] ハンドル
value[in] 値
Here is the caller graph for this function:

◆ setPass()

void GxShaderPackage::GxShaderCode::setPass ( u32 pass)

パスの設定

Parameters
pass[in] パス
Here is the caller graph for this function:

◆ setProgramFunctions()

void GxShaderPackage::GxShaderCode::setProgramFunctions ( GX_HANDLE handle,
u32 value )

プログラムで設定する関数の設定

Parameters
handle[in] ハンドル
value[in] 値
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: