|
GlistEngine
|
#include <gRenderer.h>


Classes | |
| struct | gSceneLightData |
| struct | gSceneLights |
| struct | gSceneFogData |
| struct | gSceneData |
| struct | gMeshSurface |
Public Types | |
| enum | SceneDataFlags { ENABLE_SSAO = 0b0001 , ENABLE_FOG = 0b0010 , ENABLE_GAMMA = 0b0100 , ENABLE_HDR = 0b1000 , ENABLE_SOFT_SHADOWS = 0b10000 } |
| enum | BlendMode { BLENDMODE_ALPHA , BLENDMODE_ADDITIVE } |
Public Member Functions | |
| gRenderer ()=default | |
| virtual | ~gRenderer () |
| int | getWidth () |
| int | getHeight () |
| int | getScreenWidth () |
| int | getScreenHeight () |
| int | getUnitWidth () |
| int | getUnitHeight () |
| unsigned int | getFullscreenQuadVAO () const |
| int | getCurrentResolution () |
| int | getUnitResolution () |
| void | drawGrid () |
| void | drawGridYZ () |
| void | drawGridXY () |
| void | drawGridXZ () |
| void | enableGrid () |
| void | disableGrid () |
| void | setGridEnableAxis (bool xy, bool yz, bool xz) |
| void | setGridEnableXY (bool xy) |
| void | setGridEnableYZ (bool yz) |
| void | setGridEnableXZ (bool xz) |
| void | setGridColorofAxisXZ (int r, int g, int b, int a) |
| void | setGridColorofAxisYZ (int r, int g, int b, int a) |
| void | setGridColorofAxisXY (int r, int g, int b, int a) |
| void | setGridColorofAxisXZ (gColor *color) |
| void | setGridColorofAxisYZ (gColor *color) |
| void | setGridColorofAxisXY (gColor *color) |
| void | setGridColorofAxisWireFrameXZ (int r, int g, int b, int a) |
| void | setGridColorofAxisWireFrameYZ (int r, int g, int b, int a) |
| void | setGridColorofAxisWireFrameXY (int r, int g, int b, int a) |
| void | setGridColorofAxisWireFrameXZ (gColor *color) |
| void | setGridColorofAxisWireFrameYZ (gColor *color) |
| void | setGridColorofAxisWireFrameXY (gColor *color) |
| bool | isGridEnabled () |
| bool | isGridXYEnabled () |
| bool | isGridYZEnabled () |
| bool | isGridXZEnabled () |
| void | setGridMaxLength (float length) |
| float | getGridMaxLength () |
| void | setGridLineInterval (float intervalvalue) |
| float | getGridLineInterval () |
| gGrid * | getGrid () const |
| void | setGrid (gGrid *newgrid) |
| void | setColor (int r, int g, int b, int a=255) |
| void | setColor (float r, float g, float b, float a=1.0f) |
| void | setColor (const gColor &color) |
| void | setColor (gColor *color) |
| gColor * | getColor () |
| virtual bool | beginFrame () |
| virtual void | endFrame () |
| virtual void | flushQueuedDraws () |
| virtual bool | setupDeferredLighting (int width, int height) |
| virtual bool | resizeDeferredLighting (int width, int height) |
| virtual bool | beginDeferredGeometryPass () |
| virtual bool | renderDeferredLightingPass () |
| virtual void | endDeferredLighting () |
| virtual void | releaseDeferredLighting () |
| virtual bool | isDeferredGeometryPassActive () const |
| int | getRenderEngineType () const |
| bool | isVulkan () const |
| virtual void | drawColored2D (const glm::vec2 *points, int count, const glm::vec4 &color, const glm::mat4 &mvp, int drawMode=GL_TRIANGLES) |
| virtual void | drawTexturedRect2D (GLuint textureId, GLuint maskTextureId, const glm::vec4 &tint, const glm::mat4 &mvp, const glm::vec2 &uvOffset=glm::vec2(0.0f), const glm::vec2 &uvScale=glm::vec2(1.0f)) |
| virtual void | drawTexturedTriangles2D (GLuint textureId, const glm::vec4 &tint, const glm::mat4 &mvp, const float *xyuv, int vertexCount) |
| virtual void | drawMesh3D (GLuint vertexArrayId, int vertexCount, int indexCount, const glm::mat4 &model, const gMeshSurface &surface, int drawMode=GL_TRIANGLES, int instanceCount=1) |
| virtual bool | drawSkyboxFace (GLuint textureId, const float *xyzuv, int vertexCount, const glm::mat4 &viewProjection) |
| virtual bool | allocateShadowMap (int width, int height) |
| virtual void | releaseShadowMap () |
| virtual bool | beginShadowPass () |
| virtual void | endShadowPass () |
| virtual bool | isShadowPassActive () const |
| virtual void | setShadowMapState (bool enabled, const glm::mat4 &lightMatrix, const glm::vec3 &lightPosition, bool softShadows) |
| virtual void | clear ()=0 |
| virtual void | clearColor (int r, int g, int b, int a=255)=0 |
| virtual void | clearColor (gColor color)=0 |
| void | enableLighting () |
| void | disableLighting () |
| bool | isLightingEnabled () |
| void | setLightingColor (int r, int g, int b, int a=255) |
| void | setLightingColor (gColor *color) |
| gColor * | getLightingColor () |
| void | setLightingPosition (glm::vec3 lightingPosition) |
| glm::vec3 | getLightingPosition () |
| void | setGlobalAmbientColor (int r, int g, int b, int a=255) |
| void | setGlobalAmbientColor (gColor color) |
| gColor * | getGlobalAmbientColor () |
| void | enableFog () |
| void | disableFog () |
| void | setFogNo (int no) |
| void | setFogColor (float r, float g, float b) |
| void | setFogColor (const gColor &color) |
| void | setFogMode (int fogMode) |
| void | setFogDensity (float value) |
| void | setFogGradient (float value) |
| void | setFogLinearStart (float value) |
| void | setFogLinearEnd (float value) |
| bool | isFogEnabled () |
| int | getFogNo () const |
| const gColor & | getFogColor () const |
| int | getFogMode () const |
| float | getFogDensity () const |
| float | getFogGradient () const |
| float | getFogLinearStart () const |
| float | getFogLinearEnd () const |
| void | addSceneLight (gLight *light) |
| void | removeSceneLight (gLight *light) |
| gLight * | getSceneLight (int lightNo) |
| int | getSceneLightNum () |
| void | removeAllSceneLights () |
| virtual void | updateLights () |
| virtual void | setVsync (bool enabled) |
| virtual void | setMultiSampling (int samples) |
| virtual int | getMultiSampling () const |
| void | updateScene () |
| void | gPushMatrix () |
| void | gPopMatrix () |
| virtual void | enableDepthTest ()=0 |
| virtual void | enableDepthTest (int depthTestType)=0 |
| virtual void | setDepthTestFunc (int depthTestType)=0 |
| virtual void | disableDepthTest ()=0 |
| virtual bool | isDepthTestEnabled ()=0 |
| virtual int | getDepthTestType ()=0 |
| virtual void | enableCulling () |
| virtual void | disableCulling () |
| virtual bool | isCullingEnabled () const |
| virtual void | setCullFace (int face) |
| virtual int | getCullFace () const |
| virtual void | setCullingDirection (int direction) |
| virtual int | getCullingDirection () const |
| virtual void | enableAlphaBlending ()=0 |
| virtual void | disableAlphaBlending ()=0 |
| virtual bool | isAlphaBlendingEnabled ()=0 |
| virtual void | setBlendMode (int blendMode) |
| virtual int | getBlendMode () const |
| virtual void | enableAlphaTest ()=0 |
| virtual void | disableAlphaTest ()=0 |
| virtual bool | isAlphaTestEnabled ()=0 |
| bool | isSSAOEnabled () |
| void | enableSSAO () |
| void | disableSSAO () |
| void | setSSAOBias (float value) |
| float | getSSAOBias () |
| void | setSSAORadius (float value) |
| float | getSSAORadius () |
| void | setSSAOStrength (float value) |
| float | getSSAOStrength () |
| void | setSSAODebug (bool enabled) |
| bool | isSSAODebug () |
| bool | isSSAOAllocated () |
| void | beginSSAO () |
| void | endSSAO () |
| bool | isGammaCorrectionEnabled () |
| void | enableGammaCorrection () |
| void | disableGammaCorrection () |
| bool | isHDREnabled () |
| void | enableHDR () |
| void | disableHDR () |
| bool | isSoftShadowsEnabled () |
| void | enableSoftShadows () |
| void | disableSoftShadows () |
| gShader * | getColorShader () |
| gShader * | getTextureShader () |
| gShader * | getFontShader () |
| gShader * | getImageShader () |
| gShader * | getSkyboxShader () |
| gShader * | getShadowmapShader () |
| gShader * | getPbrShader () |
| gShader * | getEquirectangularShader () |
| gShader * | getIrradianceShader () |
| gShader * | getPrefilterShader () |
| gShader * | getBrdfShader () |
| gShader * | getFboShader () |
| gShader * | getGridShader () |
| virtual void | setProjectionMatrix (glm::mat4 projectionMatrix) |
| void | setProjectionMatrix2d (glm::mat4 projectionMatrix2d) |
| void | setViewMatrix (glm::mat4 viewMatrix) |
| void | setCameraPosition (glm::vec3 cameraPosition) |
| void | setCamera (gCamera *camera) |
| const glm::mat4 & | getProjectionMatrix () const |
| const glm::mat4 & | getProjectionMatrix2d () const |
| const glm::mat4 & | getViewMatrix () const |
| const glm::vec3 & | getCameraPosition () const |
| const gCamera * | getCamera () const |
| void | backupMatrices () |
| void | restoreMatrices () |
| virtual void | takeScreenshot (gImage &img)=0 |
| virtual void | takeScreenshot (gImage &img, int x, int y, int width, int height)=0 |
| virtual GLuint | genBuffers ()=0 |
| virtual void | deleteBuffer (GLuint &buffer)=0 |
| virtual void | bindBuffer (GLenum target, GLuint buffer)=0 |
| virtual void | unbindBuffer (GLenum target)=0 |
| virtual void | bufSubData (GLuint buffer, int offset, int size, const void *data)=0 |
| virtual void | setBufferData (GLuint buffer, const void *data, size_t size, int usage)=0 |
| virtual void | setBufferRange (int index, GLuint buffer, int offset, int size)=0 |
| virtual void | attachUbo (GLuint id, int bindingpoint, const std::string &uboName)=0 |
| virtual GLuint | createVAO ()=0 |
| virtual void | deleteVAO (GLuint &vao)=0 |
| virtual void | bindVAO (GLuint vao)=0 |
| virtual void | unbindVAO ()=0 |
| virtual void | setVertexBufferData (GLuint vbo, size_t size, const void *data, int usage)=0 |
| virtual void | setIndexBufferData (GLuint ebo, size_t size, const void *data, int usage)=0 |
| virtual void | drawArrays (int drawMode, int count)=0 |
| virtual void | drawElements (int drawMode, int count)=0 |
| virtual void | drawArraysInstanced (int drawMode, int count, int instanceCount)=0 |
| virtual void | drawElementsInstanced (int drawMode, int count, int instanceCount)=0 |
| virtual void | enableVertexAttrib (int index)=0 |
| virtual void | disableVertexAttrib (int index)=0 |
| virtual void | setVertexAttribPointer (int index, int size, int type, bool normalized, int stride, const void *pointer)=0 |
| virtual void | setVertexAttribDivisor (int index, int divisor)=0 |
| virtual void | setViewport (int x, int y, int width, int height)=0 |
| void | getViewport (int &x, int &y, int &width, int &height) const |
| virtual GLuint | createFramebuffer ()=0 |
| virtual void | deleteFramebuffer (GLuint &fbo)=0 |
| virtual void | bindFramebuffer (GLuint fbo)=0 |
| GLuint | getBoundFramebuffer () const |
| virtual void | checkFramebufferStatus ()=0 |
| virtual GLuint | createRenderbuffer ()=0 |
| virtual void | deleteRenderbuffer (GLuint &rbo)=0 |
| virtual void | bindRenderbuffer (GLuint rbo)=0 |
| virtual void | setRenderbufferStorage (GLenum format, int width, int height)=0 |
| virtual void | attachTextureToFramebuffer (GLenum attachment, GLenum textarget, GLuint texId, GLuint level=0)=0 |
| virtual void | attachRenderbufferToFramebuffer (GLenum attachment, GLuint rbo)=0 |
| virtual void | setDrawBufferNone ()=0 |
| virtual void | setReadBufferNone ()=0 |
| virtual void | createFullscreenQuad (GLuint &vao, GLuint &vbo)=0 |
| virtual void | deleteFullscreenQuad (GLuint &vao, GLuint *vbo)=0 |
| virtual GLuint | loadProgram (const char *vertexSource, const char *fragmentSource, const char *geometrySource)=0 |
| virtual void | setShaderSourcePaths (const std::string &vertexPath, const std::string &fragmentPath) |
| virtual void | checkCompileErrors (GLuint shader, const std::string &type)=0 |
| virtual void | setBool (GLuint uniformloc, bool value)=0 |
| virtual void | setInt (GLuint uniformloc, int value)=0 |
| virtual void | setUnsignedInt (GLuint uniformloc, unsigned int value)=0 |
| virtual void | setFloat (GLuint uniformloc, float value)=0 |
| virtual void | setVec2 (GLuint uniformloc, const glm::vec2 &value)=0 |
| virtual void | setVec2 (GLuint uniformloc, float x, float y)=0 |
| virtual void | setVec3 (GLuint uniformloc, const glm::vec3 &value)=0 |
| virtual void | setVec3 (GLuint uniformloc, float x, float y, float z)=0 |
| virtual void | setVec4 (GLuint uniformloc, const glm::vec4 &value)=0 |
| virtual void | setVec4 (GLuint uniformloc, float x, float y, float z, float w)=0 |
| virtual void | setMat2 (GLuint uniformloc, const glm::mat2 &mat)=0 |
| virtual void | setMat3 (GLuint uniformloc, const glm::mat3 &mat)=0 |
| virtual void | setMat4 (GLuint uniformloc, const glm::mat4 &mat)=0 |
| virtual GLuint | getUniformLocation (GLuint id, const std::string &name)=0 |
| virtual void | useShader (GLuint id) const =0 |
| virtual void | resetShader (GLuint id, bool loaded) const =0 |
| virtual void | clearScreen (bool color=true, bool depth=true)=0 |
| virtual void | bindQuadVAO ()=0 |
| virtual void | drawFullscreenQuad ()=0 |
| virtual void | bindDefaultFramebuffer ()=0 |
| virtual void | drawVbo (const gVbo &vbo)=0 |
| virtual void | drawVbo (const gVbo &vbo, const glm::mat4 &model, const gMeshSurface &surface)=0 |
| virtual GLuint | createTextures ()=0 |
| virtual void | bindTexture (GLuint texId)=0 |
| virtual void | bindTexture (GLuint texId, int textureSlotNo)=0 |
| virtual void | unbindTexture ()=0 |
| virtual void | activateTexture (int textureSlotNo=0)=0 |
| virtual void | resetTexture ()=0 |
| virtual void | deleteTexture (GLuint &texId)=0 |
| virtual void | texImage2D (GLenum target, GLint internalFormat, int width, int height, GLint format, GLint type, void *data, GLint level=0)=0 |
| virtual void | setTextureMaxLevel (GLenum target, int maxLevel)=0 |
| virtual void | setWrapping (GLenum target, GLint wrapS, GLint wrapT)=0 |
| virtual void | setWrapping (GLenum target, GLint wrapS, GLint wrapT, GLint wrapR)=0 |
| virtual void | setFiltering (GLenum target, GLint minFilter, GLint magFilter)=0 |
| virtual void | setWrappingAndFiltering (GLenum target, GLint wrapS, GLint wrapT, GLint minFilter, GLint magFilter)=0 |
| virtual void | setWrappingAndFiltering (GLenum target, GLint wrapS, GLint wrapT, GLint wrapR, GLint minFilter, GLint magFilter)=0 |
| virtual void | setSwizzleMask (GLint swizzleMask[4])=0 |
| virtual void | readTexturePixels (unsigned char *inPixels, GLuint textureId, int width, int height, GLenum format)=0 |
| virtual void | readTexturePixelsHDR (float *inPixels, GLuint textureId, int width, int height, GLenum format)=0 |
| virtual void | generateMipMap ()=0 |
| virtual void | bindSkyTexture (GLuint texId)=0 |
| virtual void | bindSkyTexture (GLuint texId, int textureSlot)=0 |
| virtual void | unbindSkyTexture ()=0 |
| virtual void | unbindSkyTexture (int textureSlotNo)=0 |
| virtual void | generateSkyMipMap ()=0 |
| virtual void | enableDepthTestEqual ()=0 |
| virtual void | createQuad (GLuint &inQuadVAO, GLuint &inQuadVBO)=0 |
| virtual void | enableCubeMap ()=0 |
| virtual void | pushMatrix ()=0 |
| virtual void | popMatrix ()=0 |
| void | drawLine (float x1, float y1, float x2, float y2) |
| void | drawLine (float x1, float y1, float x2, float y2, float thickness) |
| void | drawLine (float x1, float y1, float z1, float x2, float y2, float z2, float thickness=1.0f) |
| void | drawLine (float x1, float y1, float x2, float y2, float thickness, float rotateAngle, float pivotx, float pivoty) |
| void | drawTriangle (float px, float py, float qx, float qy, float rx, float ry, bool is_filled=true, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawCircle (float xCenter, float yCenter, float radius, bool isFilled=false, float numberOfSides=64.0f, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawCross (float x, float y, float width, float height, float thickness, bool isFilled, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawArc (float xCenter, float yCenter, float radius, bool isFilled=true, int numberOfSides=60, float degree=360.0f, float rotate=360.0f, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawArrow (float x1, float y1, float length, float angle, float tipLength, float tipAngle, float thickness=1.0f, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawRectangle (float x, float y, float w, float h, bool isFilled=false, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawRoundedRectangle (float x, float y, float w, float h, int radius, bool isFilled, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f) |
| void | drawBox (float x, float y, float z, float w=1.0f, float h=1.0f, float d=1.0f, bool isFilled=true) |
| void | drawBox (float x, float y, float z, float w, float h, float d, float rotateAngle, float axisX, float axisY, float axisZ, bool isFilled=true) |
| void | drawBox (glm::mat4 transformationMatrix, bool isFilled=true) |
| void | drawSphere (float xPos, float yPos, float zPos, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int xSegmentNum=64, int ySegmentNum=32, bool isFilled=true) |
| void | drawCylinder (float x, float y, float z, int r, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawCylinderOblique (float x, float y, float z, int r, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawCylinderTrapezodial (float x, float y, float z, int r1, int r2, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawCylinderObliqueTrapezodial (float x, float y, float z, int r1, int r2, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0, 1.0, 1.0), int segmentnum=32, bool isFilled=true) |
| void | drawCone (float x, float y, float z, int r, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawConeOblique (float x, float y, float z, int r, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawPyramid (float x, float y, float z, int r, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int numberofsides=4, bool isFilled=true) |
| void | drawPyramidOblique (float x, float y, float z, int r, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int numberofsides=4, bool isFilled=true) |
| void | drawTube (float x, float y, float z, int outerradius, int innerradious, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawTubeOblique (float x, float y, float z, int outerradius, int innerradious, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawTubeTrapezodial (float x, float y, float z, int topouterradius, int topinnerradious, int buttomouterradious, int buttominnerradious, int h, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| void | drawTubeObliqueTrapezodial (float x, float y, float z, int topouterradius, int topinnerradious, int buttomouterradious, int buttominnerradious, int h, glm::vec2 shiftdistance, glm::vec3 scale=glm::vec3(1.0f, 1.0f, 1.0f), int segmentnum=32, bool isFilled=true) |
| Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Static Public Member Functions | |
| static void | setScreenSize (int screenWidth, int screenHeight) |
| static void | setUnitScreenSize (int unitWidth, int unitHeight) |
| static void | setScreenScaling (int screenScaling) |
| static void | updateProjectionMatrix2d () |
| static int | getScreenScaling () |
| static void | setCurrentResolution (int resolution) |
| static void | setCurrentResolution (int screenWidth, int screenHeight) |
| static void | setUnitResolution (int resolution) |
| static void | setUnitResolution (int screenWidth, int screenHeight) |
| static int | getResolution (int screenWidth, int screenHeight) |
| static float | getScaleMultiplier () |
| static int | scaleX (int x) |
| static int | scaleY (int y) |
| static int | unscaleX (int x) |
| static int | unscaleY (int y) |
| Static Public Member Functions inherited from gObject | |
| static std::string | gGetAppDir () |
| static std::string | gGetAssetsDir () |
| static void | gSetAssetsDir (std::string assetsDir) |
| static std::string | gGetFilesDir () |
| static std::string | gGetImagesDir () |
| static std::string | gGetFontsDir () |
| static std::string | gGetModelsDir () |
| static std::string | gGetTexturesDir () |
| static std::string | gGetShadersDir () |
| static std::string | gGetSoundsDir () |
| static std::string | gGetDatabasesDir () |
| static std::string | gGetVideosDir () |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
Static Public Attributes | |
| static const int | SCREENSCALING_NONE |
| static const int | SCREENSCALING_MIPMAP |
| static const int | SCREENSCALING_AUTO |
| static const int | DEPTHTESTTYPE_LESS |
| static const int | DEPTHTESTTYPE_ALWAYS |
| static const int | FOGMODE_LINEAR |
| static const int | FOGMODE_EXP |
| Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
Protected Member Functions | |
| void | initSSAOResources () |
| void | cleanupSSAOResources () |
| void | setupSSAODepthSampling () |
| virtual void | init () |
| virtual void | cleanup () |
| virtual void | updatePackUnpackAlignment (int i)=0 |
| void | createPrimitiveMeshes () |
| void | destroyPrimitiveMeshes () |
Static Protected Member Functions | |
| static const std::string & | getShaderSrcGridVertex () |
| static const std::string & | getShaderSrcGridFragment () |
| static const std::string & | getShaderSrcColorVertex () |
| static const std::string & | getShaderSrcColorFragment () |
| static const std::string & | getShaderSrcTextureVertex () |
| static const std::string & | getShaderSrcTextureFragment () |
| static const std::string & | getShaderSrcImageVertex () |
| static const std::string & | getShaderSrcImageFragment () |
| static const std::string & | getShaderSrcFontVertex () |
| static const std::string & | getShaderSrcFontFragment () |
| static const std::string & | getShaderSrcSkyboxVertex () |
| static const std::string & | getShaderSrcSkyboxFragment () |
| static const std::string & | getShaderSrcShadowmapVertex () |
| static const std::string & | getShaderSrcShadowmapFragment () |
| static const std::string & | getShaderSrcPbrVertex () |
| static const std::string & | getShaderSrcPbrFragment () |
| static const std::string & | getShaderSrcCubemapVertex () |
| static const std::string & | getShaderSrcEquirectangularFragment () |
| static const std::string & | getShaderSrcIrradianceFragment () |
| static const std::string & | getShaderSrcPrefilterFragment () |
| static const std::string & | getShaderSrcBrdfVertex () |
| static const std::string & | getShaderSrcBrdfFragment () |
| static const std::string & | getShaderSrcFboVertex () |
| static const std::string & | getShaderSrcFboFragment () |
| static const std::string & | getShaderSrcSSAOVertex () |
| static const std::string & | getShaderSrcSSAOFragment () |
| static const std::string & | getShaderSrcSSAOBlurFragment () |
Static Protected Attributes | |
| static int | width |
| static int | height |
| static int | unitwidth |
| static int | unitheight |
| static int | screenscaling |
| static int | currentresolution |
| static int | unitresolution |
| Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
Friends | |
| class | gRenderObject |
| class | gAppManager |
| enum gRenderer::BlendMode |
|
default |
|
virtual |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::addSceneLight | ( | gLight * | light | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::backupMatrices | ( | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::beginSSAO | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
protectedvirtual |
Reimplemented in gVKRenderEngine.
|
protected |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
protected |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
protected |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::disableFog | ( | ) |
| void gRenderer::disableGammaCorrection | ( | ) |
| void gRenderer::disableGrid | ( | ) |
| void gRenderer::disableHDR | ( | ) |
| void gRenderer::disableLighting | ( | ) |
| void gRenderer::disableSoftShadows | ( | ) |
| void gRenderer::disableSSAO | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::drawArc | ( | float | xCenter, |
| float | yCenter, | ||
| float | radius, | ||
| bool | isFilled = true, | ||
| int | numberOfSides = 60, | ||
| float | degree = 360.0f, | ||
| float | rotate = 360.0f, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::drawArrow | ( | float | x1, |
| float | y1, | ||
| float | length, | ||
| float | angle, | ||
| float | tipLength, | ||
| float | tipAngle, | ||
| float | thickness = 1.0f, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
| void gRenderer::drawBox | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w, | ||
| float | h, | ||
| float | d, | ||
| float | rotateAngle, | ||
| float | axisX, | ||
| float | axisY, | ||
| float | axisZ, | ||
| bool | isFilled = true ) |
| void gRenderer::drawBox | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w = 1.0f, | ||
| float | h = 1.0f, | ||
| float | d = 1.0f, | ||
| bool | isFilled = true ) |
| void gRenderer::drawBox | ( | glm::mat4 | transformationMatrix, |
| bool | isFilled = true ) |
| void gRenderer::drawCircle | ( | float | xCenter, |
| float | yCenter, | ||
| float | radius, | ||
| bool | isFilled = false, | ||
| float | numberOfSides = 64.0f, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::drawCone | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawConeOblique | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawCross | ( | float | x, |
| float | y, | ||
| float | width, | ||
| float | height, | ||
| float | thickness, | ||
| bool | isFilled, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
| void gRenderer::drawCylinder | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawCylinderOblique | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawCylinderObliqueTrapezodial | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r1, | ||
| int | r2, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0, 1.0, 1.0), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawCylinderTrapezodial | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r1, | ||
| int | r2, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::drawGrid | ( | ) |
| void gRenderer::drawGridXY | ( | ) |
| void gRenderer::drawGridXZ | ( | ) |
| void gRenderer::drawGridYZ | ( | ) |
| void gRenderer::drawLine | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 ) |
| void gRenderer::drawLine | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | thickness ) |
| void gRenderer::drawLine | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | thickness, | ||
| float | rotateAngle, | ||
| float | pivotx, | ||
| float | pivoty ) |
| void gRenderer::drawLine | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z2, | ||
| float | thickness = 1.0f ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::drawPyramid | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | numberofsides = 4, | ||
| bool | isFilled = true ) |
| void gRenderer::drawPyramidOblique | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | r, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | numberofsides = 4, | ||
| bool | isFilled = true ) |
| void gRenderer::drawRectangle | ( | float | x, |
| float | y, | ||
| float | w, | ||
| float | h, | ||
| bool | isFilled = false, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
| void gRenderer::drawRoundedRectangle | ( | float | x, |
| float | y, | ||
| float | w, | ||
| float | h, | ||
| int | radius, | ||
| bool | isFilled, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::drawSphere | ( | float | xPos, |
| float | yPos, | ||
| float | zPos, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | xSegmentNum = 64, | ||
| int | ySegmentNum = 32, | ||
| bool | isFilled = true ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::drawTriangle | ( | float | px, |
| float | py, | ||
| float | qx, | ||
| float | qy, | ||
| float | rx, | ||
| float | ry, | ||
| bool | is_filled = true, | ||
| float | rotateAngle = 0.0f, | ||
| float | pivotx = 0.5f, | ||
| float | pivoty = 0.5f ) |
| void gRenderer::drawTube | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | outerradius, | ||
| int | innerradious, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawTubeOblique | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | outerradius, | ||
| int | innerradious, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawTubeObliqueTrapezodial | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | topouterradius, | ||
| int | topinnerradious, | ||
| int | buttomouterradious, | ||
| int | buttominnerradious, | ||
| int | h, | ||
| glm::vec2 | shiftdistance, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
| void gRenderer::drawTubeTrapezodial | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | topouterradius, | ||
| int | topinnerradious, | ||
| int | buttomouterradious, | ||
| int | buttominnerradious, | ||
| int | h, | ||
| glm::vec3 | scale = glm::vec3(1.0f, 1.0f, 1.0f), | ||
| int | segmentnum = 32, | ||
| bool | isFilled = true ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::enableFog | ( | ) |
| void gRenderer::enableGammaCorrection | ( | ) |
| void gRenderer::enableGrid | ( | ) |
| void gRenderer::enableHDR | ( | ) |
| void gRenderer::enableLighting | ( | ) |
| void gRenderer::enableSoftShadows | ( | ) |
| void gRenderer::enableSSAO | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::endSSAO | ( | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
| GLuint gRenderer::getBoundFramebuffer | ( | ) | const |
| gShader * gRenderer::getBrdfShader | ( | ) |
| const gCamera * gRenderer::getCamera | ( | ) | const |
| const glm::vec3 & gRenderer::getCameraPosition | ( | ) | const |
| gColor * gRenderer::getColor | ( | ) |
| gShader * gRenderer::getColorShader | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
| int gRenderer::getCurrentResolution | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| gShader * gRenderer::getEquirectangularShader | ( | ) |
| gShader * gRenderer::getFboShader | ( | ) |
| const gColor & gRenderer::getFogColor | ( | ) | const |
| float gRenderer::getFogDensity | ( | ) | const |
| float gRenderer::getFogGradient | ( | ) | const |
| float gRenderer::getFogLinearEnd | ( | ) | const |
| float gRenderer::getFogLinearStart | ( | ) | const |
| int gRenderer::getFogMode | ( | ) | const |
| int gRenderer::getFogNo | ( | ) | const |
| gShader * gRenderer::getFontShader | ( | ) |
| unsigned int gRenderer::getFullscreenQuadVAO | ( | ) | const |
| gColor * gRenderer::getGlobalAmbientColor | ( | ) |
| gGrid * gRenderer::getGrid | ( | ) | const |
| float gRenderer::getGridLineInterval | ( | ) |
| float gRenderer::getGridMaxLength | ( | ) |
| gShader * gRenderer::getGridShader | ( | ) |
| int gRenderer::getHeight | ( | ) |
| gShader * gRenderer::getImageShader | ( | ) |
| gShader * gRenderer::getIrradianceShader | ( | ) |
| gColor * gRenderer::getLightingColor | ( | ) |
| glm::vec3 gRenderer::getLightingPosition | ( | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| gShader * gRenderer::getPbrShader | ( | ) |
| gShader * gRenderer::getPrefilterShader | ( | ) |
| const glm::mat4 & gRenderer::getProjectionMatrix | ( | ) | const |
| const glm::mat4 & gRenderer::getProjectionMatrix2d | ( | ) | const |
|
inline |
|
static |
|
static |
| gLight * gRenderer::getSceneLight | ( | int | lightNo | ) |
| int gRenderer::getSceneLightNum | ( | ) |
| int gRenderer::getScreenHeight | ( | ) |
|
static |
| int gRenderer::getScreenWidth | ( | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
| gShader * gRenderer::getShadowmapShader | ( | ) |
| gShader * gRenderer::getSkyboxShader | ( | ) |
| float gRenderer::getSSAOBias | ( | ) |
| float gRenderer::getSSAORadius | ( | ) |
| float gRenderer::getSSAOStrength | ( | ) |
| gShader * gRenderer::getTextureShader | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| int gRenderer::getUnitHeight | ( | ) |
| int gRenderer::getUnitResolution | ( | ) |
| int gRenderer::getUnitWidth | ( | ) |
| const glm::mat4 & gRenderer::getViewMatrix | ( | ) | const |
| void gRenderer::getViewport | ( | int & | x, |
| int & | y, | ||
| int & | width, | ||
| int & | height ) const |
| int gRenderer::getWidth | ( | ) |
| void gRenderer::gPopMatrix | ( | ) |
| void gRenderer::gPushMatrix | ( | ) |
|
protectedvirtual |
Reimplemented in gGLRenderEngine, and gVKRenderEngine.
|
protected |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| bool gRenderer::isFogEnabled | ( | ) |
| bool gRenderer::isGammaCorrectionEnabled | ( | ) |
| bool gRenderer::isGridEnabled | ( | ) |
| bool gRenderer::isGridXYEnabled | ( | ) |
| bool gRenderer::isGridXZEnabled | ( | ) |
| bool gRenderer::isGridYZEnabled | ( | ) |
| bool gRenderer::isHDREnabled | ( | ) |
| bool gRenderer::isLightingEnabled | ( | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| bool gRenderer::isSoftShadowsEnabled | ( | ) |
| bool gRenderer::isSSAOAllocated | ( | ) |
| bool gRenderer::isSSAODebug | ( | ) |
| bool gRenderer::isSSAOEnabled | ( | ) |
|
inline |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::removeAllSceneLights | ( | ) |
| void gRenderer::removeSceneLight | ( | gLight * | light | ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::restoreMatrices | ( | ) |
|
static |
|
static |
|
inlinevirtual |
Reimplemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::setCamera | ( | gCamera * | camera | ) |
| void gRenderer::setCameraPosition | ( | glm::vec3 | cameraPosition | ) |
| void gRenderer::setColor | ( | const gColor & | color | ) |
| void gRenderer::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a = 1.0f ) |
| void gRenderer::setColor | ( | gColor * | color | ) |
| void gRenderer::setColor | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a = 255 ) |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
static |
|
static |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::setFogColor | ( | const gColor & | color | ) |
| void gRenderer::setFogColor | ( | float | r, |
| float | g, | ||
| float | b ) |
| void gRenderer::setFogDensity | ( | float | value | ) |
| void gRenderer::setFogGradient | ( | float | value | ) |
| void gRenderer::setFogLinearEnd | ( | float | value | ) |
| void gRenderer::setFogLinearStart | ( | float | value | ) |
| void gRenderer::setFogMode | ( | int | fogMode | ) |
| void gRenderer::setFogNo | ( | int | no | ) |
|
inline |
| void gRenderer::setGlobalAmbientColor | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a = 255 ) |
| void gRenderer::setGrid | ( | gGrid * | newgrid | ) |
| void gRenderer::setGridColorofAxisWireFrameXY | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisWireFrameXY | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridColorofAxisWireFrameXZ | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisWireFrameXZ | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridColorofAxisWireFrameYZ | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisWireFrameYZ | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridColorofAxisXY | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisXY | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridColorofAxisXZ | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisXZ | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridColorofAxisYZ | ( | gColor * | color | ) |
| void gRenderer::setGridColorofAxisYZ | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
| void gRenderer::setGridEnableAxis | ( | bool | xy, |
| bool | yz, | ||
| bool | xz ) |
| void gRenderer::setGridEnableXY | ( | bool | xy | ) |
| void gRenderer::setGridEnableXZ | ( | bool | xz | ) |
| void gRenderer::setGridEnableYZ | ( | bool | yz | ) |
| void gRenderer::setGridLineInterval | ( | float | intervalvalue | ) |
| void gRenderer::setGridMaxLength | ( | float | length | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inline |
| void gRenderer::setLightingColor | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a = 255 ) |
| void gRenderer::setLightingPosition | ( | glm::vec3 | lightingPosition | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
virtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::setProjectionMatrix2d | ( | glm::mat4 | projectionMatrix2d | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
static |
|
static |
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
| void gRenderer::setSSAOBias | ( | float | value | ) |
| void gRenderer::setSSAODebug | ( | bool | enabled | ) |
| void gRenderer::setSSAORadius | ( | float | value | ) |
| void gRenderer::setSSAOStrength | ( | float | value | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
protected |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
| void gRenderer::setViewMatrix | ( | glm::mat4 | viewMatrix | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
inlinevirtual |
Reimplemented in gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
static |
|
static |
|
virtual |
Reimplemented in gVKRenderEngine.
|
protectedpure virtual |
|
static |
| void gRenderer::updateScene | ( | ) |
|
pure virtual |
Implemented in gGLRenderEngine, and gVKRenderEngine.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |