| Support Forum G3D Web Page |
Public Member Functions | |
| Layer (const String &name) | |
| void | renderDepthOnly (class RenderDevice *renderDevice, const ShadowMap *shadowMap, const Array< shared_ptr< Surface > > &shadowCaster, CullFace cullFace, TransparencyTestMode transparencyTestMode, const Color3 &transmissionWeight) const |
| Calls the other method of the same name multiple times with appropriate culling faces and polygon offsets. More... | |
| void | renderDepthOnly (class RenderDevice *renderDevice, const ShadowMap *shadowMap, const Array< shared_ptr< Surface > > &shadowCaster, CullFace cullFace, float polygonOffset, TransparencyTestMode transparencyTestMode, const Color3 &transmissionWeight) const |
| void | setSize (Vector2int16 desiredSize) |
| void | updateDepth (RenderDevice *renderDevice, ShadowMap *shadowMap, const Array< shared_ptr< Surface > > &shadowCaster, CullFace cullFace, TransparencyTestMode transparencyTestMode, const shared_ptr< Framebuffer > &initialValues, const Color3 &transmissionWeight) |
| Called from ShadowMap::updateDepth. More... | |
Public Attributes | |
| shared_ptr< Texture > | depthTexture |
| size_t | entityHash |
| Used to detect when something has been removed from this shadow map. More... | |
| shared_ptr< Framebuffer > | framebuffer |
| RealTime | lastUpdateTime |
| String | name |
|
inline |
| void G3D::ShadowMap::Layer::renderDepthOnly | ( | class RenderDevice * | renderDevice, |
| const ShadowMap * | shadowMap, | ||
| const Array< shared_ptr< Surface > > & | shadowCaster, | ||
| CullFace | cullFace, | ||
| TransparencyTestMode | transparencyTestMode, | ||
| const Color3 & | transmissionWeight | ||
| ) | const |
Calls the other method of the same name multiple times with appropriate culling faces and polygon offsets.
| void G3D::ShadowMap::Layer::renderDepthOnly | ( | class RenderDevice * | renderDevice, |
| const ShadowMap * | shadowMap, | ||
| const Array< shared_ptr< Surface > > & | shadowCaster, | ||
| CullFace | cullFace, | ||
| float | polygonOffset, | ||
| TransparencyTestMode | transparencyTestMode, | ||
| const Color3 & | transmissionWeight | ||
| ) | const |
| void G3D::ShadowMap::Layer::setSize | ( | Vector2int16 | desiredSize | ) |
| void G3D::ShadowMap::Layer::updateDepth | ( | RenderDevice * | renderDevice, |
| ShadowMap * | shadowMap, | ||
| const Array< shared_ptr< Surface > > & | shadowCaster, | ||
| CullFace | cullFace, | ||
| TransparencyTestMode | transparencyTestMode, | ||
| const shared_ptr< Framebuffer > & | initialValues, | ||
| const Color3 & | transmissionWeight | ||
| ) |
Called from ShadowMap::updateDepth.
| initialValues | If not nullptr, blit the depth from this buffer instead of clearing to infinity. |
| shared_ptr<Texture> G3D::ShadowMap::Layer::depthTexture |
Referenced by G3D::ShadowMap::depthTexture().
| size_t G3D::ShadowMap::Layer::entityHash |
Used to detect when something has been removed from this shadow map.
This is zero if there is nothing in the shadow map.
| shared_ptr<Framebuffer> G3D::ShadowMap::Layer::framebuffer |
Referenced by G3D::ShadowMap::framebuffer().
|
mutable |
Referenced by G3D::ShadowMap::lastUpdateTime().
| String G3D::ShadowMap::Layer::name |
1.8.15