SLProject 4.0.000
|
#include <SLGLFbo.h>
Public Member Functions | |
SLGLFbo (SLuint w, SLuint h, SLenum magFilter=GL_NEAREST, SLenum minFilter=GL_NEAREST, SLint internalFormat=GL_RGB16F, SLint format=GL_FLOAT, SLint wrap=GL_REPEAT) | |
~SLGLFbo () | |
void | activateAsTexture (int progId, const SLstring &samplerName, int textureUnit=0) |
Public Attributes | |
SLuint | width |
SLuint | height |
SLuint | attachment |
SLuint | fboID |
SLuint | texID |
SLuint | rboID |
SLGLFbo::SLGLFbo | ( | SLuint | w, |
SLuint | h, | ||
SLenum | magFilter = GL_NEAREST , |
||
SLenum | minFilter = GL_NEAREST , |
||
SLint | internalFormat = GL_RGB16F , |
||
SLint | format = GL_FLOAT , |
||
SLint | wrap = GL_REPEAT |
||
) |
SLGLFbo::~SLGLFbo | ( | ) |
void SLGLFbo::activateAsTexture | ( | int | progId, |
const SLstring & | samplerName, | ||
int | textureUnit = 0 |
||
) |
SLuint SLGLFbo::attachment |
SLuint SLGLFbo::fboID |
SLuint SLGLFbo::height |
SLuint SLGLFbo::rboID |
SLuint SLGLFbo::texID |
SLuint SLGLFbo::width |