ofDocsdocumentation types ofBaseGLRenderer

ofBaseGLRenderer


begin( ... )

void begin(const ofFbo &fbo, ofFboMode mode)

bind( ... )

void bind(const ofFbo &fbo)

bind( ... )

void bind(const ofBaseMaterial &material)

bind( ... )

void bind(const ofShader &shader)

bind( ... )

void bind(const ofTexture &texture, int location)

bind( ... )

void bind(const ofBaseVideoDraws &video)

bindForBlitting( ... )

void bindForBlitting(const ofFbo &fboSrc, ofFbo &fboDst, int attachmentPoint=0)

disableAlphaMask( )

void disableAlphaMask()

disableLight( ... )

void disableLight(int lightIndex)

disableLighting( )

void disableLighting()

disablePointSprites( )

void disablePointSprites()

disableSeparateSpecularLight( )

void disableSeparateSpecularLight()

disableTextureTarget( ... )

void disableTextureTarget(int textureTarget, int textureLocation)

draw( ... )

void draw(const ofTexture &image, float x, float y, float z, float w, float h, float sx, float sy, float sw, float sh)

draw( ... )

void draw(const ofVboMesh &mesh, ofPolyRenderMode renderType)

draw( ... )

void draw(const ofVbo &vbo, GLuint drawMode, int first, int total)

drawElements( ... )

void drawElements(const ofVbo &vbo, GLuint drawMode, int amt, int offsetelements)

drawElementsInstanced( ... )

void drawElementsInstanced(const ofVbo &vbo, GLuint drawMode, int amt, int primCount)

drawInstanced( ... )

void drawInstanced(const ofVboMesh &mesh, ofPolyRenderMode renderType, int primCount)

drawInstanced( ... )

void drawInstanced(const ofVbo &vbo, GLuint drawMode, int first, int total, int primCount)

enableLight( ... )

void enableLight(int lightIndex)

enableLighting( )

void enableLighting()

enablePointSprites( )

void enablePointSprites()

enableSeparateSpecularLight( )

void enableSeparateSpecularLight()

enableTextureTarget( ... )

void enableTextureTarget(const ofTexture &tex, int textureLocation)

end( ... )

void end(const ofFbo &fbo)

getGLVersionMajor( )

int getGLVersionMajor()

getGLVersionMinor( )

int getGLVersionMinor()

getLightingEnabled( )

bool getLightingEnabled()

saveFullViewport( ... )

void saveFullViewport(ofPixels &pixels)

saveScreen( ... )

void saveScreen(int x, int y, int w, int h, ofPixels &pixels)

setAlphaMaskTex( ... )

void setAlphaMaskTex(const ofTexture &tex)

setGlobalAmbientColor( ... )

void setGlobalAmbientColor(const ofColor &c)

setLightAmbientColor( ... )

void setLightAmbientColor(int lightIndex, const ofFloatColor &c)

setLightAttenuation( ... )

void setLightAttenuation(int lightIndex, float constant, float linear, float quadratic)

setLightDiffuseColor( ... )

void setLightDiffuseColor(int lightIndex, const ofFloatColor &c)

setLightPosition( ... )

void setLightPosition(int lightIndex, const glm::vec4 &position)

setLightSpecularColor( ... )

void setLightSpecularColor(int lightIndex, const ofFloatColor &c)

setLightSpotConcentration( ... )

void setLightSpotConcentration(int lightIndex, float exponent)

setLightSpotDirection( ... )

void setLightSpotDirection(int lightIndex, const glm::vec4 &direction)

setLightSpotlightCutOff( ... )

void setLightSpotlightCutOff(int lightIndex, float spotCutOff)

setSmoothLighting( ... )

void setSmoothLighting(bool b)

unbind( ... )

void unbind(const ofFbo &fbo)

unbind( ... )

void unbind(const ofBaseMaterial &material)

unbind( ... )

void unbind(const ofShader &shader)

unbind( ... )

void unbind(const ofTexture &texture, int location)

unbind( ... )

void unbind(const ofBaseVideoDraws &video)