Graphics class that represents the pass for phong lighting in deferred rendering.
More...
|
|
LightUniforms | m_directionalLightUniforms |
| |
|
LightUniforms | m_pointSpotLightUniforms |
| |
|
MeshRef | m_cone |
| |
|
MeshRef | m_sphere |
| |
|
ShaderRef | m_directionalLightShader |
| |
|
ShaderRef | m_pointSpotLightShader |
| |
|
TextureSampler | m_pointSampler |
| |
|
StaticMesh * | m_coneMesh |
| |
|
StaticMesh * | m_sphereMesh |
| |
|
bool | m_lightMeshesDrawing |
| |
|
int | m_directionalLightShaderEyePositionLocation |
| |
|
int | m_directionalLightShaderSceneAmbientLocation |
| |
|
int | m_pointSpotLightShaderDiscardLocation |
| |
|
int | m_pointSpotLightShaderEyePositionLocation |
| |
|
int | m_pointSpotLightShaderSceneAmbientLocation |
| |
|
Vector2ui | m_dimensions |
| |
|
DeferredRenderTechnique * | m_deferredTechnique |
| |
|
DeferredRenderQueue * | m_renderQueue |
| |
|
RenderTexture * | m_GBufferRTT |
| |
|
RenderTexture * | m_workRTT |
| |
|
Texture * | m_depthStencilTexture |
| |
|
Texture * | m_GBuffer [4] |
| |
|
Texture * | m_workTextures [2] |
| |
Graphics class that represents the pass for phong lighting in deferred rendering.
◆ EnableLightMeshesDrawing()
| void Nz::DeferredPhongLightingPass::EnableLightMeshesDrawing |
( |
bool |
enable | ) |
|
Enables the drawing of meshes with light.
- Parameters
-
| enable | Should meshes with light parameter be drawed |
◆ IsLightMeshesDrawingEnabled()
| bool Nz::DeferredPhongLightingPass::IsLightMeshesDrawingEnabled |
( |
| ) |
const |
Checks whether the drawing of meshes with light is enabled.
- Returns
- true If it is the case
◆ Process()
| bool Nz::DeferredPhongLightingPass::Process |
( |
const SceneData & |
sceneData, |
|
|
unsigned int |
firstWorkTexture, |
|
|
unsigned int |
secondWorkTexture |
|
) |
| const |
|
overridevirtual |
Processes the work on the data while working with textures.
- Returns
- true
- Parameters
-
| sceneData | Data for the scene |
| firstWorkTexture | Index of the first texture to work with |
| firstWorkTexture | Index of the second texture to work with |
Implements Nz::DeferredRenderPass.
The documentation for this class was generated from the following files: