TDME2 1.9.121
Public Member Functions | Private Attributes | List of all members
FrameBufferRenderShader Class Referencefinal

Frame buffer render shader. More...

#include <tdme/engine/subsystems/framebuffer/FrameBufferRenderShader.h>

Collaboration diagram for FrameBufferRenderShader:
Collaboration graph

Public Member Functions

 FrameBufferRenderShader (Renderer *renderer)
 Public constructor. More...
 
 ~FrameBufferRenderShader ()
 Public destructor. More...
 
bool isInitialized ()
 
void initialize ()
 Initialize. More...
 
void useProgram ()
 Use render program. More...
 
void unUseProgram ()
 Un use render program. More...
 
int32_t getVBOVertices ()
 
int32_t getVBOTextureCoordinates ()
 

Private Attributes

Rendererrenderer { nullptr }
 
int32_t vertexShaderId { -1 }
 
int32_t fragmentShaderId { -1 }
 
int32_t programId { -1 }
 
int32_t uniformColorBufferTextureUnit { -1 }
 
int32_t uniformDepthBufferTextureUnit { -1 }
 
int32_t vboVertices { -1 }
 
int32_t vboTextureCoordinates {-1 }
 
bool initialized
 
bool isRunning
 

Detailed Description

Frame buffer render shader.

Author
Andreas Drewke
Version
$Id$

Definition at line 14 of file FrameBufferRenderShader.h.

Constructor & Destructor Documentation

◆ FrameBufferRenderShader()

Public constructor.

Parameters
rendererrenderer

Definition at line 22 of file FrameBufferRenderShader.cpp.

◆ ~FrameBufferRenderShader()

Public destructor.

Definition at line 29 of file FrameBufferRenderShader.cpp.

Member Function Documentation

◆ getVBOTextureCoordinates()

int32_t getVBOTextureCoordinates ( )
inline
Returns
texture coordinates VBO

Definition at line 71 of file FrameBufferRenderShader.h.

◆ getVBOVertices()

int32_t getVBOVertices ( )
inline
Returns
vertices VBO

Definition at line 64 of file FrameBufferRenderShader.h.

◆ initialize()

void initialize ( )

Initialize.

Definition at line 39 of file FrameBufferRenderShader.cpp.

◆ isInitialized()

bool isInitialized ( )
Returns
if initialized and ready to use

Definition at line 34 of file FrameBufferRenderShader.cpp.

◆ unUseProgram()

void unUseProgram ( )

Un use render program.

Definition at line 134 of file FrameBufferRenderShader.cpp.

◆ useProgram()

void useProgram ( )

Use render program.

Definition at line 124 of file FrameBufferRenderShader.cpp.

Member Data Documentation

◆ fragmentShaderId

int32_t fragmentShaderId { -1 }
private

Definition at line 20 of file FrameBufferRenderShader.h.

◆ initialized

bool initialized
private

Definition at line 26 of file FrameBufferRenderShader.h.

◆ isRunning

bool isRunning
private

Definition at line 27 of file FrameBufferRenderShader.h.

◆ programId

int32_t programId { -1 }
private

Definition at line 21 of file FrameBufferRenderShader.h.

◆ renderer

Renderer* renderer { nullptr }
private

Definition at line 18 of file FrameBufferRenderShader.h.

◆ uniformColorBufferTextureUnit

int32_t uniformColorBufferTextureUnit { -1 }
private

Definition at line 22 of file FrameBufferRenderShader.h.

◆ uniformDepthBufferTextureUnit

int32_t uniformDepthBufferTextureUnit { -1 }
private

Definition at line 23 of file FrameBufferRenderShader.h.

◆ vboTextureCoordinates

int32_t vboTextureCoordinates {-1 }
private

Definition at line 25 of file FrameBufferRenderShader.h.

◆ vboVertices

int32_t vboVertices { -1 }
private

Definition at line 24 of file FrameBufferRenderShader.h.

◆ vertexShaderId

int32_t vertexShaderId { -1 }
private

Definition at line 19 of file FrameBufferRenderShader.h.


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