Skip to content

Commit

Permalink
some refactoring: renderer -> rendererBackend + other stuff / 17
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 19, 2025
1 parent 577a25c commit 6e63298
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/tdme/engine/subsystems/renderer/RendererBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,31 +209,31 @@ class tdme::engine::subsystems::renderer::RendererBackend
virtual ~RendererBackend();

/**
* @returns renderer backend type
* @returns renderer type
*/
inline RendererType getRendererType() {
return rendererType;
}

/**
* Prepare window system renderer backend context
* Prepare window system renderer context
* @param tryIdx try index
*/
virtual bool prepareWindowSystemRendererContext(int tryIdx) = 0;

/**
* Initialize window system renderer backend context
* Initialize window system renderer context
* @param glfwWindow GLFL window
*/
virtual bool initializeWindowSystemRendererContext(GLFWwindow* glfwWindow) = 0;

/**
* Initialize renderer backend
* Initialize
*/
virtual void initialize() = 0;

/**
* Pre Frame Initialization
* Pre frame initialization
*/
virtual void initializeFrame() = 0;

Expand All @@ -258,7 +258,7 @@ class tdme::engine::subsystems::renderer::RendererBackend
virtual const string getShaderVersion() = 0;

/**
* @returns if renderer backend is supporting multi threaded rendering
* @returns is supporting multi threaded rendering
*/
virtual bool isSupportingMultithreadedRendering() = 0;

Expand Down Expand Up @@ -309,7 +309,7 @@ class tdme::engine::subsystems::renderer::RendererBackend
virtual bool isGLCLAvailable() = 0;

/**
* @returns Returns if renderer backend is using short indices, otherwise it uses int indices
* @returns if using short indices, otherwise it uses int indices
*/
virtual bool isUsingShortIndices() = 0;

Expand Down Expand Up @@ -666,7 +666,7 @@ class tdme::engine::subsystems::renderer::RendererBackend
virtual void setDepthFunction(int32_t depthFunction) = 0;

/**
* Set up GL rendering colormask
* Set up rendering colormask
* @param red red
* @param green green
* @param blue blue
Expand Down

0 comments on commit 6e63298

Please sign in to comment.