SLProject 4.0.000
SLGLFbo Class Reference

#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
 

Constructor & Destructor Documentation

◆ SLGLFbo()

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::~SLGLFbo ( )

Member Function Documentation

◆ activateAsTexture()

void SLGLFbo::activateAsTexture ( int  progId,
const SLstring samplerName,
int  textureUnit = 0 
)

Member Data Documentation

◆ attachment

SLuint SLGLFbo::attachment

◆ fboID

SLuint SLGLFbo::fboID

◆ height

SLuint SLGLFbo::height

◆ rboID

SLuint SLGLFbo::rboID

◆ texID

SLuint SLGLFbo::texID

◆ width

SLuint SLGLFbo::width

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