TDME2 1.9.121
|
#include <tdme/engine/subsystems/renderer/Renderer.h>
Classes | |
struct | Renderer_Context |
struct | Renderer_Light |
Bean holding light properties. More... | |
struct | Renderer_PBRMaterial |
Bean holding PBR material properties. More... | |
struct | Renderer_SpecularMaterial |
Bean holding specular material properties. More... | |
struct | Renderer_Statistics |
Bean holding light properties. More... | |
Public Types | |
enum | RendererType { RENDERERTYPE_NONE , RENDERERTYPE_OPENGLES , RENDERERTYPE_OPENGL , RENDERERTYPE_VULKAN } |
Public Member Functions | |
Renderer () | |
Public constructor. More... | |
virtual | ~Renderer () |
Destructor. More... | |
RendererType | getRendererType () |
virtual bool | prepareWindowSystemRendererContext (int tryIdx)=0 |
Prepare window system renderer context. More... | |
virtual bool | initializeWindowSystemRendererContext (GLFWwindow *glfwWindow)=0 |
Initialize window system renderer context. More... | |
virtual void | initialize ()=0 |
Initialize renderer. More... | |
virtual void | initializeFrame ()=0 |
Pre Frame Initialization. More... | |
virtual void | finishFrame ()=0 |
Finish frame. More... | |
virtual const string | getVendor ()=0 |
virtual const string | getRenderer ()=0 |
virtual const string | getShaderVersion ()=0 |
virtual bool | isSupportingMultithreadedRendering ()=0 |
virtual bool | isBufferObjectsAvailable ()=0 |
Checks if buffer objects is available. More... | |
virtual bool | isDepthTextureAvailable ()=0 |
Checks if depth texture is available. More... | |
virtual bool | isUsingProgramAttributeLocation ()=0 |
virtual bool | isSupportingIntegerProgramAttributes ()=0 |
virtual bool | isSpecularMappingAvailable ()=0 |
virtual bool | isNormalMappingAvailable ()=0 |
virtual bool | isInstancedRenderingAvailable ()=0 |
Checks if instanced rendering is available. More... | |
virtual bool | isPBRAvailable ()=0 |
virtual bool | isComputeShaderAvailable ()=0 |
virtual bool | isGLCLAvailable ()=0 |
virtual bool | isUsingShortIndices ()=0 |
virtual bool | isDeferredShadingAvailable ()=0 |
virtual int32_t | getTextureUnits ()=0 |
int32_t | getViewPortWidth () |
int32_t | getViewPortHeight () |
virtual int32_t | loadShader (int32_t type, const string &pathName, const string &fileName, const string &definitions=string(), const string &functions=string())=0 |
Loads a shader. More... | |
virtual void | useProgram (int contextIdx, int32_t programId)=0 |
Use shader program. More... | |
virtual int32_t | createProgram (int type)=0 |
Creates a shader program. More... | |
virtual void | attachShaderToProgram (int32_t programId, int32_t shaderId)=0 |
Attaches a shader to a program. More... | |
virtual bool | linkProgram (int32_t programId)=0 |
Links attached shaders to a program. More... | |
virtual int32_t | getProgramUniformLocation (int32_t programId, const string &name)=0 |
Returns location of given uniform variable. More... | |
virtual void | setProgramUniformInteger (int contextIdx, int32_t uniformId, int32_t value)=0 |
Set up a integer uniform value. More... | |
virtual void | setProgramUniformFloat (int contextIdx, int32_t uniformId, float value)=0 |
Set up a float uniform value. More... | |
virtual void | setProgramUniformFloatMatrix3x3 (int contextIdx, int32_t uniformId, const array< float, 9 > &value)=0 |
Set up a float matrix 3x3 uniform value. More... | |
virtual void | setProgramUniformFloatMatrix4x4 (int contextIdx, int32_t uniformId, const array< float, 16 > &value)=0 |
Set up a float matrix 4x4 uniform value. More... | |
virtual void | setProgramUniformFloatMatrices4x4 (int contextIdx, int32_t uniformId, int32_t count, FloatBuffer *data)=0 |
Set up a float matrices 4x4 uniform values. More... | |
virtual void | setProgramUniformFloatVec4 (int contextIdx, int32_t uniformId, const array< float, 4 > &data)=0 |
Set up a float vec4 uniform value. More... | |
virtual void | setProgramUniformFloatVec3 (int contextIdx, int32_t uniformId, const array< float, 3 > &data)=0 |
Set up a float vec3 uniform value. More... | |
virtual void | setProgramUniformFloatVec2 (int contextIdx, int32_t uniformId, const array< float, 2 > &data)=0 |
Set up a float vec2 uniform value. More... | |
virtual void | setProgramAttributeLocation (int32_t programId, int32_t location, const string &name)=0 |
Bind attribute to a input location. More... | |
int32_t | getEffectPass () |
Get effect pass. More... | |
void | setEffectPass (int32_t effectPass) |
Set effect pass. More... | |
const string & | getShaderPrefix () |
Get shader prefix. More... | |
void | setShaderPrefix (const string &shaderPrefix) |
Set shader prefix. More... | |
int32_t | getLighting (int contextIdx) |
Get current lighting model. More... | |
void | setLighting (int contextIdx, int32_t lighting) |
Set current lighting model. More... | |
Vector3 & | getCameraPosition () |
virtual void | setViewPort (int32_t width, int32_t height)=0 |
Set up viewport parameter. More... | |
virtual void | updateViewPort ()=0 |
Update viewport. More... | |
Matrix4x4 & | getProjectionMatrix () |
virtual void | onUpdateProjectionMatrix (int contextIdx)=0 |
Update projection matrix event. More... | |
Matrix4x4 & | getCameraMatrix () |
virtual void | onUpdateCameraMatrix (int contextIdx)=0 |
Update camera matrix event. More... | |
Matrix4x4 & | getModelViewMatrix () |
virtual void | onUpdateModelViewMatrix (int contextIdx)=0 |
Update model view matrix event. More... | |
Matrix4x4 & | getViewportMatrix () |
Matrix2D3x3 & | getTextureMatrix (int contextIdx) |
Get texture matrix. More... | |
virtual void | onUpdateTextureMatrix (int contextIdx)=0 |
Update texture matrix for active texture unit event. More... | |
virtual void | setClearColor (float red, float green, float blue, float alpha)=0 |
Set up clear color. More... | |
virtual void | enableCulling (int contextIdx)=0 |
Enable culling. More... | |
virtual void | disableCulling (int contextIdx)=0 |
Disable culling. More... | |
virtual void | setFrontFace (int contextIdx, int32_t frontFace)=0 |
Set up clock wise or counter clock wise faces as front face. More... | |
virtual void | setCullFace (int32_t cullFace)=0 |
Sets up which face will be culled. More... | |
virtual void | enableBlending ()=0 |
Enables blending. More... | |
virtual void | enableAdditionBlending ()=0 |
Enable blending with c = a + b. More... | |
virtual void | disableBlending ()=0 |
Disables blending. More... | |
virtual void | enableDepthBufferWriting ()=0 |
Enable depth buffer writing. More... | |
virtual void | disableDepthBufferWriting ()=0 |
Disable depth buffer writing. More... | |
virtual void | disableDepthBufferTest ()=0 |
Disable depth buffer test. More... | |
virtual void | enableDepthBufferTest ()=0 |
Enable depth buffer test. More... | |
virtual void | setDepthFunction (int32_t depthFunction)=0 |
Set up depth function. More... | |
virtual void | setColorMask (bool red, bool green, bool blue, bool alpha)=0 |
Set up GL rendering colormask. More... | |
virtual void | clear (int32_t mask)=0 |
Clear render buffer with given mask. More... | |
virtual int32_t | createTexture ()=0 |
Creates a texture. More... | |
virtual int32_t | createDepthBufferTexture (int32_t width, int32_t height, int32_t cubeMapTextureId, int32_t cubeMapTextureIndex)=0 |
Creates a depth buffer texture. More... | |
virtual int32_t | createColorBufferTexture (int32_t width, int32_t height, int32_t cubeMapTextureId, int32_t cubeMapTextureIndex)=0 |
Creates a color buffer texture. More... | |
virtual int32_t | createGBufferGeometryTexture (int32_t width, int32_t height)=0 |
Creates a geometry buffer geometry texture. More... | |
virtual int32_t | createGBufferColorTexture (int32_t width, int32_t height)=0 |
Creates a geometry buffer color RGBA texture. More... | |
virtual void | uploadTexture (int contextIdx, Texture *texture)=0 |
Uploads texture data to current bound texture. More... | |
virtual void | uploadCubeMapTexture (int contextIdx, Texture *textureLeft, Texture *textureRight, Texture *textureTop, Texture *textureBottom, Texture *textureFront, Texture *textureBack)=0 |
Uploads cube map texture data to current bound texture. More... | |
virtual int32_t | createCubeMapTexture (int contextIdx, int32_t width, int32_t height)=0 |
Create cube map texture from frame buffers. More... | |
virtual void | resizeDepthBufferTexture (int32_t textureId, int32_t width, int32_t height)=0 |
Resizes a depth texture. More... | |
virtual void | resizeColorBufferTexture (int32_t textureId, int32_t width, int32_t height)=0 |
Resize color buffer texture. More... | |
virtual void | resizeGBufferGeometryTexture (int32_t textureId, int32_t width, int32_t height)=0 |
Resizes a geometry buffer geometry texture. More... | |
virtual void | resizeGBufferColorTexture (int32_t textureId, int32_t width, int32_t height)=0 |
Resizes a geometry buffer color RGBA texture. More... | |
virtual void | bindTexture (int contextIdx, int32_t textureId)=0 |
Binds a texture with given id or unbinds when using ID_NONE. More... | |
virtual void | bindCubeMapTexture (int contextIdx, int32_t textureId)=0 |
Binds a cube map texture with given id or unbinds when using ID_NONE. More... | |
virtual void | onBindTexture (int contextIdx, int32_t textureId)=0 |
On bind texture event. More... | |
virtual void | disposeTexture (int32_t textureId)=0 |
Dispose a texture. More... | |
virtual int32_t | createFramebufferObject (int32_t depthBufferTextureId, int32_t colorBufferTextureId, int32_t cubeMapTextureId=0, int32_t cubeMapTextureIndex=0)=0 |
Creates a frame buffer object with depth texture attached. More... | |
virtual int32_t | createGeometryBufferObject (int32_t depthBufferTextureId, int32_t geometryBufferTextureId1, int32_t geometryBufferTextureId2, int32_t geometryBufferTextureId3, int32_t colorBufferTextureId1, int32_t colorBufferTextureId2, int32_t colorBufferTextureId3, int32_t colorBufferTextureId4, int32_t colorBufferTextureId5)=0 |
Creates a geometry frame buffer object. More... | |
virtual void | bindFrameBuffer (int32_t frameBufferId)=0 |
Enables a framebuffer to be rendered. More... | |
virtual void | disposeFrameBufferObject (int32_t frameBufferId)=0 |
Disposes a frame buffer object. More... | |
virtual vector< int32_t > | createBufferObjects (int32_t buffers, bool useGPUMemory, bool shared)=0 |
Generate buffer objects for vertex data and such. More... | |
virtual void | uploadBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, FloatBuffer *data)=0 |
Uploads buffer data to buffer object. More... | |
virtual void | uploadBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, IntBuffer *data)=0 |
Uploads buffer data to buffer object. More... | |
virtual void | uploadBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, ShortBuffer *data)=0 |
Uploads buffer data to buffer object. More... | |
virtual void | uploadIndicesBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, ShortBuffer *data)=0 |
Uploads buffer data to buffer object. More... | |
virtual void | uploadIndicesBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, IntBuffer *data)=0 |
Uploads buffer data to buffer object. More... | |
virtual void | bindIndicesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind indices buffer object. More... | |
virtual void | bindTextureCoordinatesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind texture coordinates buffer object. More... | |
virtual void | bindVerticesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind vertices buffer object. More... | |
virtual void | bindNormalsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind normals buffer object. More... | |
virtual void | bindColorsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind colors buffer object. More... | |
virtual void | bindTangentsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind tangents buffer object. More... | |
virtual void | bindBitangentsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind bitangents buffer object. More... | |
virtual void | bindModelMatricesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind model matrices buffer object. More... | |
virtual void | bindEffectColorMulsBufferObject (int contextIdx, int32_t bufferObjectId, int32_t divisor)=0 |
Bind effect color muls buffer object. More... | |
virtual void | bindEffectColorAddsBufferObject (int contextIdx, int32_t bufferObjectId, int32_t divisor)=0 |
Bind effect color adds buffer object. More... | |
virtual void | bindOriginsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind origins buffer object. More... | |
virtual void | bindTextureSpriteIndicesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind texture and sprite indices buffer object. More... | |
virtual void | bindPointSizesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind point sizes buffer object. More... | |
virtual void | bindSpriteSheetDimensionBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind sprite sheet dimension buffer object. More... | |
virtual void | drawInstancedIndexedTrianglesFromBufferObjects (int contextIdx, int32_t triangles, int32_t trianglesOffset, int32_t instances)=0 |
Draw instanced indexed triangles from buffer objects. More... | |
virtual void | drawIndexedTrianglesFromBufferObjects (int contextIdx, int32_t triangles, int32_t trianglesOffset)=0 |
Draw indexed triangles from buffer objects. More... | |
virtual void | drawInstancedTrianglesFromBufferObjects (int contextIdx, int32_t triangles, int32_t trianglesOffset, int32_t instances)=0 |
Draw instanced triangles from buffer objects. More... | |
virtual void | drawTrianglesFromBufferObjects (int contextIdx, int32_t triangles, int32_t trianglesOffset)=0 |
Draw triangles from buffer objects. More... | |
virtual void | drawPointsFromBufferObjects (int contextIdx, int32_t points, int32_t pointsOffset)=0 |
Draw points from buffer objects. More... | |
virtual void | setLineWidth (float lineWidth)=0 |
Set line width. More... | |
virtual void | drawLinesFromBufferObjects (int contextIdx, int32_t points, int32_t pointsOffset)=0 |
Draw lines from buffer objects. More... | |
virtual void | unbindBufferObjects (int contextIdx)=0 |
Unbind buffer objects. More... | |
virtual void | disposeBufferObjects (vector< int32_t > &bufferObjectIds)=0 |
Disposes a frame buffer object. More... | |
virtual int32_t | getTextureUnit (int contextIdx)=0 |
Get texture unit. More... | |
virtual void | setTextureUnit (int contextIdx, int32_t textureUnit)=0 |
Sets up texture unit. More... | |
Renderer_Light & | getLight (int contextIdx, int32_t lightIdx) |
Get light. More... | |
virtual void | onUpdateLight (int contextIdx, int32_t lightId)=0 |
Update light. More... | |
array< float, 4 > & | getEffectColorMul (int contextIdx) |
Get effect color mul. More... | |
array< float, 4 > & | getEffectColorAdd (int contextIdx) |
Get effect color add. More... | |
virtual void | onUpdateEffect (int contextIdx)=0 |
Update material. More... | |
Renderer_SpecularMaterial & | getSpecularMaterial (int contextIdx) |
Get specular material. More... | |
Renderer_PBRMaterial & | getPBRMaterial (int contextIdx) |
Get PBR material. More... | |
virtual void | onUpdateMaterial (int contextIdx)=0 |
On update material. More... | |
const string & | getShader (int contextIdx) |
Get shader. More... | |
void | setShader (int contextIdx, const string &id) |
Set shader. More... | |
virtual void | onUpdateShader (int contextIdx)=0 |
On update shader. More... | |
const EntityShaderParameters & | getShaderParameters (int contextIdx) |
Get shader parameters. More... | |
void | setShaderParameters (int contextIdx, const EntityShaderParameters ¶meters) |
Set shader parameters. More... | |
virtual void | onUpdateShaderParameters (int contextIdx)=0 |
On update shader parameters. More... | |
virtual float | readPixelDepth (int32_t x, int32_t y)=0 |
Reads a pixel depth. More... | |
virtual ByteBuffer * | readPixels (int32_t x, int32_t y, int32_t width, int32_t height)=0 |
Read pixels. More... | |
virtual void | dispatchCompute (int contextIdx, int32_t numGroupsX, int32_t numGroupsY, int32_t numGroupsZ)=0 |
Dispatch compute. More... | |
virtual void | memoryBarrier ()=0 |
Memory barrier. More... | |
virtual void | uploadSkinningBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, FloatBuffer *data)=0 |
Upload skinning buffer object. More... | |
virtual void | uploadSkinningBufferObject (int contextIdx, int32_t bufferObjectId, int32_t size, IntBuffer *data)=0 |
Upload skinning buffer object. More... | |
virtual void | bindSkinningVerticesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning vertices buffer object. More... | |
virtual void | bindSkinningNormalsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning normal buffer object. More... | |
virtual void | bindSkinningVertexJointsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning vertex joints buffer object. More... | |
virtual void | bindSkinningVertexJointIdxsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning vertex joint indices buffer object. More... | |
virtual void | bindSkinningVertexJointWeightsBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning vertex joint weights buffer object. More... | |
virtual void | bindSkinningVerticesResultBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning vertices result buffer object. More... | |
virtual void | bindSkinningNormalsResultBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning normals result buffer object. More... | |
virtual void | bindSkinningMatricesBufferObject (int contextIdx, int32_t bufferObjectId)=0 |
Bind skinning matrices result buffer object. More... | |
float | getMaskMaxValue (int contextIdx) |
Get mask max value. More... | |
void | setMaskMaxValue (int contextIdx, float maskMaxValue) |
Set mask max value. More... | |
array< float, 3 > & | getEnvironmentMappingCubeMapPosition (int contextIdx) |
Get environment mapping cube map position. More... | |
void | setEnvironmentMappingCubeMapPosition (int contextIdx, array< float, 3 > &position) |
Set environment mapping cube map position. More... | |
virtual void | initGuiMode ()=0 |
Set up renderer for GUI rendering. More... | |
virtual void | doneGuiMode ()=0 |
Set up renderer for 3d rendering. More... | |
virtual void | setVSync (bool vSync)=0 |
Enable/Disable v-sync. More... | |
virtual const Renderer_Statistics | getStatistics ()=0 |
Texture * | generateMipMap (const string &id, Texture *texture, int32_t level, int32_t atlasBorderSize) |
Generate mip map for atlas texture currently. More... | |
Protected Attributes | |
int32_t | viewPortWidth |
int32_t | viewPortHeight |
Renderer_Statistics | statistics |
Vector3 | cameraPosition |
Matrix4x4 | projectionMatrix |
Matrix4x4 | cameraMatrix |
Matrix4x4 | modelViewMatrix |
Matrix4x4 | viewportMatrix |
int32_t | effectPass |
string | shaderPrefix |
vector< Renderer_Context > | rendererContexts |
Renderer interface.
Definition at line 44 of file Renderer.h.
enum RendererType |
Enumerator | |
---|---|
RENDERERTYPE_NONE | |
RENDERERTYPE_OPENGLES | |
RENDERERTYPE_OPENGL | |
RENDERERTYPE_VULKAN |
Definition at line 48 of file Renderer.h.
Renderer | ( | ) |
Public constructor.
Definition at line 21 of file Renderer.cpp.
|
virtual |
Destructor.
Definition at line 66 of file Renderer.cpp.
|
pure virtual |
Attaches a shader to a program.
programId | program id |
shaderId | shader id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind bitangents buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind colors buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Binds a cube map texture with given id or unbinds when using ID_NONE.
contextIdx | context index |
textureId | textureId |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind effect color adds buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
divisor | divisor |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind effect color muls buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
divisor | divisor |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enables a framebuffer to be rendered.
frameBufferId | frameBufferId |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind indices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind model matrices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind normals buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind origins buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind point sizes buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning matrices result buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning normal buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning normals result buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning vertex joint indices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning vertex joints buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning vertex joint weights buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning vertices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind skinning vertices result buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind sprite sheet dimension buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind tangents buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Binds a texture with given id or unbinds when using ID_NONE.
contextIdx | context index |
textureId | textureId |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind texture coordinates buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind texture and sprite indices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Bind vertices buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Clear render buffer with given mask.
mask | mask |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Generate buffer objects for vertex data and such.
buffers | buffers |
useGPUMemory | use GPU memory |
shared | shared between different threads |
Implemented in VKRenderer, GL2Renderer, GL3Renderer, and GLES2Renderer.
|
pure virtual |
Creates a color buffer texture.
width | width |
height | height @oaram cubeMapTextureId cube map texture id |
cubeMapTextureIndex | cube map texture index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Create cube map texture from frame buffers.
contextIdx | context index |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a depth buffer texture.
width | width |
height | height @oaram cubeMapTextureId cube map texture id |
cubeMapTextureIndex | cube map texture index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a frame buffer object with depth texture attached.
depthBufferTextureId | depth buffer texture id |
colorBufferTextureId | color buffer texture id |
cubeMapTextureId | cube map texture id |
cubeMapTextureIndex | cube map texture index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a geometry buffer color RGBA texture.
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a geometry buffer geometry texture.
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a geometry frame buffer object.
depthBufferTextureId | depth buffer texture id |
geometryBufferTextureId1 | geometry texture id 1 |
geometryBufferTextureId2 | geometry texture id 2 |
geometryBufferTextureId3 | geometry texture id 3 |
colorBufferTextureId1 | color buffer texture id 1 |
colorBufferTextureId2 | color buffer texture id 2 |
colorBufferTextureId3 | color buffer texture id 3 |
colorBufferTextureId4 | color buffer texture id 4 |
colorBufferTextureId5 | color buffer texture id 5 |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a shader program.
type | type |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Creates a texture.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disables blending.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disable culling.
contextIdx | context index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disable depth buffer test.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disable depth buffer writing.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Dispatch compute.
contextIdx | context index |
numGroupsX | num groups x |
numGroupsY | num groups y |
numGroupsZ | num groups z |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disposes a frame buffer object.
bufferObjectIds | frame buffer id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Disposes a frame buffer object.
frameBufferId | frame buffer id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Dispose a texture.
textureId | texture id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up renderer for 3d rendering.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw indexed triangles from buffer objects.
contextIdx | context index |
triangles | triangles |
trianglesOffset | triangles offset |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw instanced indexed triangles from buffer objects.
contextIdx | context index |
triangles | triangles |
trianglesOffset | triangles offset |
instances | instances |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw instanced triangles from buffer objects.
contextIdx | context index |
triangles | triangles |
trianglesOffset | triangles offset |
instances | instances |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw lines from buffer objects.
contextIdx | context index |
points | points |
pointsOffset | points offset |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw points from buffer objects.
contextIdx | context index |
points | points |
pointsOffset | points offset |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Draw triangles from buffer objects.
contextIdx | context index |
triangles | triangles |
trianglesOffset | triangles offset |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enable blending with c = a + b.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enables blending.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enable culling.
contextIdx | context index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enable depth buffer test.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enable depth buffer writing.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Finish frame.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
Texture * generateMipMap | ( | const string & | id, |
Texture * | texture, | ||
int32_t | level, | ||
int32_t | atlasBorderSize | ||
) |
Generate mip map for atlas texture currently.
id | id |
texture | texture |
level | level |
atlasBorderSize | atlasBorderSize |
Definition at line 69 of file Renderer.cpp.
|
inline |
Definition at line 543 of file Renderer.h.
|
inline |
Definition at line 511 of file Renderer.h.
|
inline |
Get effect color add.
context |
Definition at line 1126 of file Renderer.h.
|
inline |
Get effect color mul.
context |
Definition at line 1116 of file Renderer.h.
|
inline |
|
inline |
Get environment mapping cube map position.
contextIdx | context index |
Definition at line 1345 of file Renderer.h.
|
inline |
Get light.
contextIdx | context index |
lightId | light id |
Definition at line 1099 of file Renderer.h.
|
inline |
Get current lighting model.
contextIdx | context index |
Definition at line 493 of file Renderer.h.
|
inline |
|
inline |
Definition at line 556 of file Renderer.h.
|
inline |
Get PBR material.
contextIdx | context index |
Definition at line 1152 of file Renderer.h.
|
pure virtual |
Returns location of given uniform variable.
programId | program id |
name | uniform name |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Definition at line 530 of file Renderer.h.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Definition at line 203 of file Renderer.h.
|
inline |
|
inline |
Get shader parameters.
contextIdx | context index |
Definition at line 1194 of file Renderer.h.
|
inline |
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Get specular material.
contextIdx | context index |
Definition at line 1142 of file Renderer.h.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Get texture matrix.
contextIdx | context index |
Definition at line 578 of file Renderer.h.
|
pure virtual |
Get texture unit.
contextIdx | context index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Definition at line 332 of file Renderer.h.
|
inline |
Definition at line 569 of file Renderer.h.
|
inline |
Definition at line 325 of file Renderer.h.
|
pure virtual |
Set up renderer for GUI rendering.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Initialize renderer.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Pre Frame Initialization.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Initialize window system renderer context.
glfwWindow | GLFL window |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Checks if buffer objects is available.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Checks if depth texture is available.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Checks if instanced rendering is available.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Links attached shaders to a program.
programId | program id |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Loads a shader.
type | type |
pathName | path name |
fileName | file name |
definitions | preprocessor definitions |
functions | included functions |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Memory barrier.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
On bind texture event.
contextIdx | context index |
textureId | textureId |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update camera matrix event.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update material.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update light.
contextIdx | context index |
lightId | light id |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
On update material.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update model view matrix event.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update projection matrix event.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
On update shader.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
On update shader parameters.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Update texture matrix for active texture unit event.
contextIdx | context index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Prepare window system renderer context.
tryIdx | try index |
Implemented in EngineGL2Renderer, EngineGL3Renderer, EngineGLES2Renderer, and EngineVKRenderer.
|
pure virtual |
Reads a pixel depth.
x | x |
y | y |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Read pixels.
x | x |
y | y |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Resize color buffer texture.
textureId | texture id |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Resizes a depth texture.
textureId | texture id |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Resizes a geometry buffer color RGBA texture.
textureId | texture id |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Resizes a geometry buffer geometry texture.
textureId | texture id |
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up clear color.
red | red |
green | green |
blue | blue |
alpha | alpha |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up GL rendering colormask.
red | red |
green | green |
blue | blue |
alpha | alpha |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Sets up which face will be culled.
cullFace | cull face |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up depth function.
depthFunction | depth function |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
|
inline |
Set environment mapping cube map position.
contextIdx | context index |
position | position |
Definition at line 1355 of file Renderer.h.
|
pure virtual |
Set up clock wise or counter clock wise faces as front face.
contextIdx | context index |
frontFace | frontFace |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Set current lighting model.
contextIdx | context index |
lighting | lighting, see LIGHTING_* |
Definition at line 503 of file Renderer.h.
|
pure virtual |
Set line width.
lineWidth | line width |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Set mask max value.
contextIdx | context index |
maskMinValue | mask mask value |
Definition at line 1335 of file Renderer.h.
|
pure virtual |
Bind attribute to a input location.
programId | program id |
location | location |
name | attribute name |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float uniform value.
contextIdx | context index |
uniformId | uniform id |
value | value |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float matrices 4x4 uniform values.
contextIdx | context index |
uniformId | uniform id |
count | count |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float matrix 3x3 uniform value.
contextIdx | context index |
uniformId | uniform id |
value | value |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float matrix 4x4 uniform value.
contextIdx | context index |
uniformId | uniform id |
value | value |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float vec2 uniform value.
contextIdx | context index |
uniformId | uniform id |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float vec3 uniform value.
contextIdx | context index |
uniformId | uniform id |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a float vec4 uniform value.
contextIdx | context index |
uniformId | uniform id |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up a integer uniform value.
contextIdx | context index |
uniformId | uniform id |
value | value |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
inline |
Set shader.
contextIdx | context index |
id | shader id |
parameters | parameters |
Definition at line 1178 of file Renderer.h.
|
inline |
Set shader parameters.
contextIdx | context index |
parameters | shader parameters |
Definition at line 1204 of file Renderer.h.
|
inline |
|
pure virtual |
Sets up texture unit.
contextIdx | context index |
textureUnit | texture unit |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Set up viewport parameter.
width | width |
height | height |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Enable/Disable v-sync.
vSync | V-sync enabled |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Unbind buffer objects.
contextIdx | context index |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Update viewport.
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads buffer data to buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads buffer data to buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads buffer data to buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads cube map texture data to current bound texture.
contextIdx | context index |
textureLeft | texture left |
textureRight | texture right |
textureTop | texture top |
textureBottom | texture bottom |
textureFront | texture front |
textureBack | texture back |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads buffer data to buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads buffer data to buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Upload skinning buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Upload skinning buffer object.
contextIdx | context index |
bufferObjectId | buffer object id |
size | size |
data | data |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Uploads texture data to current bound texture.
contextIdx | context index |
texture | texture |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
pure virtual |
Use shader program.
contextIdx | context index |
programId | programId |
Implemented in GL2Renderer, GL3Renderer, GLES2Renderer, and VKRenderer.
|
protected |
Definition at line 182 of file Renderer.h.
|
protected |
Definition at line 180 of file Renderer.h.
int32_t CLEAR_COLOR_BUFFER_BIT |
Definition at line 144 of file Renderer.h.
int32_t CLEAR_DEPTH_BUFFER_BIT |
Definition at line 143 of file Renderer.h.
int32_t CONTEXTINDEX_DEFAULT |
Definition at line 140 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_NEGATIVE_X |
Definition at line 162 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_NEGATIVE_Y |
Definition at line 165 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_NEGATIVE_Z |
Definition at line 167 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_POSITIVE_X |
Definition at line 163 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_POSITIVE_Y |
Definition at line 164 of file Renderer.h.
int32_t CUBEMAPTEXTUREINDEX_POSITIVE_Z |
Definition at line 166 of file Renderer.h.
int32_t CULLFACE_BACK |
Definition at line 146 of file Renderer.h.
int32_t CULLFACE_FRONT |
Definition at line 145 of file Renderer.h.
int32_t DEPTHFUNCTION_ALWAYS |
Definition at line 155 of file Renderer.h.
int32_t DEPTHFUNCTION_EQUAL |
Definition at line 156 of file Renderer.h.
int32_t DEPTHFUNCTION_GREATEREQUAL |
Definition at line 158 of file Renderer.h.
int32_t DEPTHFUNCTION_LESSEQUAL |
Definition at line 157 of file Renderer.h.
|
protected |
Definition at line 185 of file Renderer.h.
int32_t FRAMEBUFFER_DEFAULT |
Definition at line 159 of file Renderer.h.
int32_t FRONTFACE_CCW |
Definition at line 161 of file Renderer.h.
int32_t FRONTFACE_CW |
Definition at line 160 of file Renderer.h.
int32_t ID_NONE |
Definition at line 142 of file Renderer.h.
int32_t LIGHTING_NONE |
Definition at line 169 of file Renderer.h.
int32_t LIGHTING_PBR |
Definition at line 171 of file Renderer.h.
int32_t LIGHTING_SPECULAR |
Definition at line 170 of file Renderer.h.
|
protected |
Definition at line 183 of file Renderer.h.
int32_t PROGRAM_COMPUTE |
Definition at line 151 of file Renderer.h.
int32_t PROGRAM_LINES |
Definition at line 150 of file Renderer.h.
int32_t PROGRAM_OBJECTS |
Definition at line 148 of file Renderer.h.
int32_t PROGRAM_POINTS |
Definition at line 149 of file Renderer.h.
|
protected |
Definition at line 181 of file Renderer.h.
|
protected |
Definition at line 188 of file Renderer.h.
RendererType rendererType { RENDERERTYPE_NONE } |
Definition at line 138 of file Renderer.h.
int32_t SHADER_COMPUTE_SHADER |
Definition at line 154 of file Renderer.h.
int32_t SHADER_FRAGMENT_SHADER |
Definition at line 152 of file Renderer.h.
int32_t SHADER_VERTEX_SHADER |
Definition at line 153 of file Renderer.h.
|
protected |
Definition at line 186 of file Renderer.h.
|
protected |
Definition at line 179 of file Renderer.h.
int32_t TEXTUREUNITS_MAX |
Definition at line 147 of file Renderer.h.
int32_t UNIFORM_CL_SKINNING_INSTANCE_COUNT |
Definition at line 175 of file Renderer.h.
int32_t UNIFORM_CL_SKINNING_MATRIX_COUNT |
Definition at line 174 of file Renderer.h.
int32_t UNIFORM_CL_SKINNING_VERTEX_COUNT |
Definition at line 173 of file Renderer.h.
|
protected |
Definition at line 178 of file Renderer.h.
|
protected |
Definition at line 184 of file Renderer.h.
|
protected |
Definition at line 177 of file Renderer.h.