テクスチャクラス
More...
#include <GxRenderTexture.h>
|
void | cleanup (void) override |
| delete直前に呼び出される関数
|
|
virtual b32 | initialize2D (const GxSize &resolution, u32 mipLevel, RENDER_FORMAT format, u32 attribute) |
| 初期化関数(2D)
|
|
virtual b32 | initialize3D (const GxSize &resolution, u32 depth, u32 mipLevel, RENDER_FORMAT format, u32 attribute) |
| 初期化関数(3D)
|
|
virtual b32 | initializeCube (const GxSize &resolution, u32 mipLevel, RENDER_FORMAT format, u32 attribute) |
| 初期化関数(Cube)
|
|
virtual b32 | initializeRenderTarget (const GxSize &resolution, RENDER_FORMAT format, RENDER_ANTI_ALIASING antiAliasing, u32 attribute) |
| 初期化関数(レンダーターゲット)
|
|
virtual b32 | initializeDepthStencil (const GxSize &resolution, RENDER_FORMAT format, RENDER_ANTI_ALIASING antiAliasing, u32 attribute) |
| 初期化関数(深度ステンシル)
|
|
| GxRenderTexture (void) |
| デフォルトコンストラクタ(RenderDevice以外でのインスタンス化禁止)
|
|
|
constexpr RENDER_TEXTURE_TYPE | getType (void) const |
| テクスチャタイプを取得
|
|
constexpr RENDER_FORMAT | getFormat (void) const |
| フォーマットを取得
|
|
constexpr RENDER_ANTI_ALIASING | getAntiAliasing (void) const |
| アンチエイリアシングを取得
|
|
GX_FORCE_INLINE const GxSize & | getResolution (void) const |
| 解像度を取得
|
|
constexpr u32 | getDepth (void) const |
| 3D深度を取得
|
|
constexpr u32 | getArrayCount (void) const |
| 配列数を取得
|
|
constexpr u32 | getMipLevel (void) const |
| ミップレベル
|
|
constexpr u32 | getAttribute (void) const |
| 属性を取得
|
|
constexpr GX_HANDLE | getHandle (void) const |
| テクスチャハンドルを取得
|
|
void | setName (GX_CSTR name) |
| 名前の設定
|
|
constexpr GX_CSTR | getName (void) const |
| 名前の取得
|
|
GX_FORCE_INLINE GxNativeTexture | getTexture (void) const |
| テクスチャを取得
|
|
static u32 | getBitPerPixel (RENDER_FORMAT format) |
| フォーマットから、1ピクセルあたりのビット数を求める
|
|
static u32 | getPitch (RENDER_FORMAT format, u32 width) |
| フォーマットと幅からピッチを取得
|
|
static GxNativeRenderFormat | getNativeFormat (RENDER_FORMAT format, u32 attribute) |
| ネイティブフォーマットを取得
|
|
|
constexpr void | forceDelayRelease (void) |
| 強制遅延解放
|
|
| GxClassBaseReference (void) |
| コンストラクタ
|
|
| GxClassBaseReference (const GxClassBaseReference &base) |
| コピーコンストラクタ
|
|
| ~GxClassBaseReference (void) override |
| デストラクタ
|
|
constexpr GxClassBaseReference & | operator= (const GxClassBaseReference &base) |
| 代入演算子
|
|
virtual s32 | addReference (void) |
| 参照カウンタを加算
|
|
virtual s32 | release (void) |
| 解放
|
|
virtual s32 | getReferenceCount (void) const |
| 参照カウンタを取得
|
|
constexpr void | setDelayReleaseCount (s32 count) |
| 遅延解放カウンタを設定
|
|
void | setDelayReleaseCountInfinity (b32 on) |
| 無限解放待ちの設定
|
|
constexpr | GxClassBaseRoot (void) |
| コンストラクタ
|
|
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ
|
|
virtual | ~GxClassBaseRoot (void) |
| デストラクタ
|
|
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子
|
|
virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得
|
|
virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得
|
|
GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定
|
|
static b32 | initializeThreadLocalStorage (void) |
| スレッドローカルストレージ初期化関数
|
|
static GX_FORCE_INLINE void | disableDelayRelease (void) |
| 遅延解放を無効化
|
|
static GX_FORCE_INLINE void | enableDelayRelease (void) |
| 遅延解放を有効化
|
|
static void | initializeDelayRelease (void) |
| 遅延解放リストの初期化
|
|
static void | terminateDelayRelease (void) |
| 遅延解放リストの終了
|
|
static void | updateDelayRelease (void) |
| 遅延解放リストの更新
|
|
static b32 | isDelayReleaseEnable (void) |
| 遅延解放システムの有効判定
|
|
static u32 | getDelayReleaseListCount (void) |
| 遅延解放待ちの数を取得
|
|
static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得
|
|
static constexpr s32 | DELAY_RELEASE_COUNT_INFINITY = -1 |
| 遅延解放の無限待ち定義
|
|
| GxRenderResource (void) |
| デフォルトコンストラクタ(RenderDevice以外でのインスタンス化禁止)
|
|
| GxRenderNotifier (b32 callRender=false) |
| コンストラクタ(インスタンス化禁止)
|
|
virtual | ~GxRenderNotifier (void) |
| デストラクタ(インスタンス化禁止)
|
|
s32 | _referenceCount |
| 参照カウンタ
|
|
s32 | _delayReleaseCount |
| 遅延解放カウンタ
|
|
static s32 | _disableDelayRelease [GxThread::THREAD_MAX] = {0} |
| 遅延解放無効化フラグ
|
|
◆ cleanup()
void GxRenderTexture::cleanup |
( |
void | | ) |
|
|
overridevirtual |
◆ convertMsaaToSampleCount()
MSAAをサンプル数に変換
- Parameters
-
antiAliasing | [in] アンチエイリアス |
- Returns
- サンプル数
◆ getBitPerPixel()
フォーマットから、1ピクセルあたりのビット数を求める
- Parameters
-
- Returns
- 1ピクセルあたりのビット数
◆ getMipLine()
u32 GxRenderTexture::getMipLine |
( |
u32 | mipLevel, |
|
|
RENDER_FORMAT | format, |
|
|
const GxSize & | resolution ) |
|
staticprotected |
ミップマップライン数を取得
- Parameters
-
mipLevel | [in] ミップレベル |
format | [in] フォーマット |
resolution | [in] 解像度 |
- Returns
- ライン数
◆ getMipPitch()
u32 GxRenderTexture::getMipPitch |
( |
u32 | mipLevel, |
|
|
u32 | originalPitch ) |
|
protected |
ミップマップピッチを取得
- Parameters
-
mipLevel | [in] ミップレベル |
originalPitch | [in] 元サイズのピッチ |
- Returns
- ピッチ
◆ getMipSize()
u32 GxRenderTexture::getMipSize |
( |
u32 | mipLevel, |
|
|
u32 | originalPitch ) |
|
protected |
ミップマップサイズを取得
- Parameters
-
mipLevel | [in] ミップレベル |
originalPitch | [in] 元サイズのピッチ |
- Returns
- ミップマップサイズ
◆ getNativeFormat()
GxNativeRenderFormat GxRenderTexture::getNativeFormat |
( |
RENDER_FORMAT | format, |
|
|
u32 | attribute ) |
|
static |
ネイティブフォーマットを取得
- Parameters
-
format | [in] フォーマット |
attribute | [in] 属性 |
- Returns
- ネイティブフォーマット
◆ getPitch()
u32 GxRenderTexture::getPitch |
( |
RENDER_FORMAT | format, |
|
|
u32 | width ) |
|
static |
フォーマットと幅からピッチを取得
- Parameters
-
format | [in] フォーマット |
width | [in] 幅 |
- Returns
- ピッチ
◆ initialize2D()
b32 GxRenderTexture::initialize2D |
( |
const GxSize & | resolution, |
|
|
u32 | mipLevel, |
|
|
RENDER_FORMAT | format, |
|
|
u32 | attribute ) |
|
protectedvirtual |
初期化関数(2D)
- Parameters
-
resolution | [in] 解像度 |
mipLevel | [in] ミップマップの段数 |
format | [in] フォーマット |
attribute | [in] 属性 |
- Returns
- 成功ならtrue
◆ initialize3D()
b32 GxRenderTexture::initialize3D |
( |
const GxSize & | resolution, |
|
|
u32 | depth, |
|
|
u32 | mipLevel, |
|
|
RENDER_FORMAT | format, |
|
|
u32 | attribute ) |
|
protectedvirtual |
初期化関数(3D)
- Parameters
-
resolution | [in] 解像度 |
depth | [in] 深さ |
mipLevel | [in] ミップマップの段数 |
format | [in] フォーマット |
attribute | [in] 属性 |
- Returns
- 成功ならtrue
◆ initializeCube()
b32 GxRenderTexture::initializeCube |
( |
const GxSize & | resolution, |
|
|
u32 | mipLevel, |
|
|
RENDER_FORMAT | format, |
|
|
u32 | attribute ) |
|
protectedvirtual |
初期化関数(Cube)
- Parameters
-
resolution | [in] 解像度 |
mipLevel | [in] ミップマップの段数 |
format | [in] フォーマット |
attribute | [in] 属性 |
- Returns
- 成功ならtrue
◆ initializeDepthStencil()
初期化関数(深度ステンシル)
- Parameters
-
resolution | [in] 解像度 |
mipLevel | [in] ミップマップの段数 |
format | [in] フォーマット |
attribute | [in] 属性 |
- Returns
- 成功ならtrue
◆ initializeRenderTarget()
初期化関数(レンダーターゲット)
- Parameters
-
resolution | [in] 解像度 |
format | [in] フォーマット |
antiAliasing | [in] アンチエイリアス |
attribute | [in] 属性 |
- Returns
- 成功ならtrue
◆ map()
b32 GxRenderTexture::map |
( |
u32 | arrayIndex, |
|
|
u32 | mipLevel, |
|
|
u32 | mappingType, |
|
|
GxMappingInformation * | pMappingInformation ) |
|
virtual |
マッピング開始
- Parameters
-
arrayIndex | [in] 配列インデックス |
mipLevel | [in] ミップマップの段数 |
mappingType | [in] マッピング形式 |
pMappingInfo[out] | マッピング情報 |
- Returns
- 成功ならtrue
◆ onLostDevice()
void GxRenderTexture::onLostDevice |
( |
void | | ) |
|
|
overridevirtual |
◆ onRender()
void GxRenderTexture::onRender |
( |
void | | ) |
|
|
inlineoverridevirtual |
◆ onResetDevice()
b32 GxRenderTexture::onResetDevice |
( |
void | | ) |
|
|
overridevirtual |
◆ setName()
void GxRenderTexture::setName |
( |
GX_CSTR | name | ) |
|
◆ unmap()
void GxRenderTexture::unmap |
( |
u32 | arrayIndex, |
|
|
u32 | mipLevel ) |
|
virtual |
マッピング終了
- Parameters
-
arrayIndex | [in] 配列インデックス |
mipLevel | [in] ミップマップの段数 |
The documentation for this class was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxRenderTexture.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxRenderTexture.cpp