#include <render_bridge.h>
Render bridge class.
Definition at line 22 of file render_bridge.h.
◆ CloseContext()
static void scl::render_bridge::CloseContext |
( |
| ) |
|
|
inlinestatic |
- Render context deinitialisation call function.
- Parameters
-
- Returns
- None.
Definition at line 61 of file render_bridge.h.
61{ RenderContext->Close(); }
◆ DrawIndices()
- Draw vertex array (vertex buffer and index buffer) to curent render target.
- Parameters
-
VertexArray | - vertex array to draw verticces from. |
- Returns
- None.
Definition at line 80 of file render_bridge.h.
81 {
82 RenderContext->DrawIndices(VertexArray);
83 }
◆ DrawIndicesInstanced()
static void scl::render_bridge::DrawIndicesInstanced |
( |
const shared< vertex_array > & |
VertexArray, |
|
|
int |
InstanceCount |
|
) |
| |
|
inlinestatic |
- Instanced draw vertex array (vertex buffer and index buffer) to curent render target.
- Parameters
-
VertexArray | - vertex array to draw verticces from. \parma InstanceCount - instances of drawing vertex array count. |
- Returns
- None.
Definition at line 92 of file render_bridge.h.
93 {
94 RenderContext->DrawIndicesInstanced(VertexArray, InstanceCount);
95 }
◆ GetClearColor()
static const vec4 & scl::render_bridge::GetClearColor |
( |
| ) |
|
|
inlinestatic |
Render bridge data getter/setter functions.
Frame clear color setter function.
Definition at line 29 of file render_bridge.h.
29{ return RenderContext->GetClearColor(); }
◆ GetCullingMode()
Render culling mode setter function.
Definition at line 33 of file render_bridge.h.
33{ return RenderContext->GetCullingMode(); }
◆ GetGaussianBlurPassShader()
Backend API specific full viewport mesh with tone mapping shader.
Definition at line 129 of file render_bridge.h.
130 {
131 return RenderContext->GetGaussianBlurPassShader();
132 }
◆ GetPhongGeometryShader()
Backend API specific phong lighint model shader for geometry pass getter function.
Definition at line 105 of file render_bridge.h.
106 {
107 return RenderContext->GetPhongGeometryShader();
108 }
◆ GetPhongLightingShader()
Backend API specific phong lighint model shader for lighting pass getter function.
Definition at line 111 of file render_bridge.h.
112 {
113 return RenderContext->GetPhongLightingShader();
114 }
◆ GetShadowPassShader()
Backend API specific shadow pass shader getter function.
Definition at line 117 of file render_bridge.h.
118 {
119 return RenderContext->GetShadowPassShader();
120 }
◆ GetSingleColorMaterialShader()
Sculpto library built-in backend API specific rendering objects getter function.
Backend API specific single color material shader getter function.
Definition at line 99 of file render_bridge.h.
100 {
101 return RenderContext->GetSingleColorMaterialShader();
102 }
◆ GetTextureAddPassShader()
Backend API specific gaussian blur pass shader getter function.
Definition at line 135 of file render_bridge.h.
136 {
137 return RenderContext->GetTextureAddPassShader();
138 }
◆ GetToneMappingPassShader()
Backend API specific full viewport mesh with tone mapping shader.
Definition at line 123 of file render_bridge.h.
124 {
125 return RenderContext->GetToneMappingPassShader();
126 }
◆ GetVSync()
static bool scl::render_bridge::GetVSync |
( |
| ) |
|
|
inlinestatic |
Render virtual syncronisation flag getter function.
Definition at line 35 of file render_bridge.h.
35{ return RenderContext->GetVSync(); }
◆ GetWireframeMode()
static bool scl::render_bridge::GetWireframeMode |
( |
| ) |
|
|
inlinestatic |
Render wire frame mode setter function.
Definition at line 31 of file render_bridge.h.
31{ return RenderContext->GetWireframeMode(); }
◆ InitContext()
static void scl::render_bridge::InitContext |
( |
| ) |
|
|
inlinestatic |
Render bridge methods.
- Render context initialisation call function.
- Parameters
-
- Returns
- None.
Definition at line 53 of file render_bridge.h.
53{ RenderContext->Init(); }
◆ SetClearColor()
static void scl::render_bridge::SetClearColor |
( |
const vec4 & |
ClearColor | ) |
|
|
inlinestatic |
Frame clear color setter function.
Definition at line 38 of file render_bridge.h.
38{ RenderContext->SetClearColor(ClearColor); }
◆ SetCullingMode()
Render culling mode setter function.
Definition at line 42 of file render_bridge.h.
42{ RenderContext->SetCullingMode(CullingMode); }
◆ SetVSync()
static void scl::render_bridge::SetVSync |
( |
bool |
VSync | ) |
|
|
inlinestatic |
Render virtual syncronisation flag setter function.
Definition at line 44 of file render_bridge.h.
44{ RenderContext->SetVSync(VSync); }
◆ SetWireframeMode()
static void scl::render_bridge::SetWireframeMode |
( |
bool |
IsWireframe | ) |
|
|
inlinestatic |
Render wire frame mode setter function.
Definition at line 40 of file render_bridge.h.
40{ RenderContext->SetWireframeMode(IsWireframe); }
◆ SwapBuffers()
static void scl::render_bridge::SwapBuffers |
( |
| ) |
|
|
inlinestatic |
- Swap render targets function.
- Parameters
-
- Returns
- None.
Definition at line 69 of file render_bridge.h.
70 {
71 RenderContext->SwapBuffers();
72 }
The documentation for this class was generated from the following files: