3#ifdef TRENDERINTERFACE_GL
16 void CreateAttachment(
TINT a_iAttachment, GLsizei a_iWidth, GLsizei a_iHeight, GLenum a_eInternalFormat, GLenum a_eFormat, GLenum a_ePixelType );
17 void CreateDepthTexture( GLsizei a_iWidth, GLsizei a_iHeight );
18 void SetDrawBuffer( GLenum a_eDrawBuffer );
25 TBOOL IsCreated()
const {
return m_uiFBO != 0; }
26 GLuint GetAttachment(
TINT a_iAttachment )
const {
return m_aAttachments[ a_iAttachment ]; }
27 GLuint GetDepthTexture()
const {
return m_uiDepthTexture; }
31 GLuint m_aAttachments[ 4 ];
32 GLuint m_uiDepthTexture;
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END