Lumino
ln::RenderTargetTexture Class Reference

レンダーターゲットテクスチャのクラスです。 More...

#include <Texture.hpp>

Inheritance diagram for ln::RenderTargetTexture:
ln::Texture ln::AssetObject ln::IGraphicsResource

Static Public Member Functions

static Ref< RenderTargetTexturecreate (int width, int height)
 レンダーターゲットテクスチャを作成します。ピクセルフォーマットは RGBA8 です。 More...
 
static Ref< RenderTargetTexturecreate (int width, int height, TextureFormat format)
 レンダーターゲットテクスチャを作成します。 More...
 
static Ref< RenderTargetTexturegetTemporary (int width, int height, TextureFormat format, bool mipmap)
 一時的な RenderTargetTexture を取得します。
 
static void releaseTemporary (RenderTargetTexture *renderTarget)
 getTemporary で取得した一時的な RenderTargetTexture を解放します。
 

Protected Member Functions

void init (int width, int height)
 レンダーターゲットテクスチャを作成します。ピクセルフォーマットは RGBA8 です。 More...
 
void init (int width, int height, TextureFormat format)
 レンダーターゲットテクスチャを作成します。 More...
 

Additional Inherited Members

- Public Member Functions inherited from ln::Texture
int width () const
 テクスチャの幅を取得します。(ピクセル単位)
 
int height () const
 テクスチャの高さを取得します。 (ピクセル単位)
 
TextureFormat format () const
 テクスチャのピフォーマットを取得します。
 
bool mipmap () const
 ミップマップの有無を取得します。
 
SamplerStatesamplerState () const
 このテクスチャに関連付けられている SamplerState を取得します。
 
void setSamplerState (SamplerState *value)
 このテクスチャに関連付ける SamplerState を設定します。
 

Detailed Description

レンダーターゲットテクスチャのクラスです。

Member Function Documentation

◆ create() [1/2]

static Ref<RenderTargetTexture> ln::RenderTargetTexture::create ( int  width,
int  height 
)
static

レンダーターゲットテクスチャを作成します。ピクセルフォーマットは RGBA8 です。

Parameters
[in]width: 幅 (px 単位)
[in]height: 高さ (px 単位)

◆ create() [2/2]

static Ref<RenderTargetTexture> ln::RenderTargetTexture::create ( int  width,
int  height,
TextureFormat  format 
)
static

レンダーターゲットテクスチャを作成します。

Parameters
[in]width: 幅 (px 単位)
[in]height: 高さ (px 単位)
[in]format: ピクセルフォーマット

◆ init() [1/2]

void ln::RenderTargetTexture::init ( int  width,
int  height 
)
protected

レンダーターゲットテクスチャを作成します。ピクセルフォーマットは RGBA8 です。

Parameters
[in]width: 幅 (px 単位)
[in]height: 高さ (px 単位)

◆ init() [2/2]

void ln::RenderTargetTexture::init ( int  width,
int  height,
TextureFormat  format 
)
protected

レンダーターゲットテクスチャを作成します。

Parameters
[in]width: 幅 (px 単位)
[in]height: 高さ (px 単位)
[in]format: ピクセルフォーマット

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