Lumino
ln::DepthBuffer Class Reference

深度バッファのクラスです。 More...

#include <DepthBuffer.hpp>

Inheritance diagram for ln::DepthBuffer:
ln::IGraphicsResource

Public Member Functions

int width () const
 幅を取得します。(ピクセル単位)
 
int height () const
 高さを取得します。 (ピクセル単位)
 

Static Public Member Functions

static Ref< DepthBuffercreate (int width, int height)
 深度バッファを作成します。 More...
 
static Ref< DepthBuffergetTemporary (int width, int height)
 一時的な DepthBuffer を取得します。(内容の保証はありません。使用する前に必ずクリアしてください)
 
static void releaseTemporary (DepthBuffer *depthBuffer)
 getTemporary で取得した一時的な DepthBuffer を解放します。
 

Protected Member Functions

void init (int width, int height)
 深度バッファを作成します。 More...
 

Detailed Description

深度バッファのクラスです。

Member Function Documentation

◆ create()

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

深度バッファを作成します。

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

◆ init()

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

深度バッファを作成します。

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

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