![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
A single shadow map system. Used, for example, by spot lights. More...
#include <SingleShadowMapGenerator.h>
Public Member Functions | |
SingleShadowMapGenerator (GFXDevice &context) | |
~SingleShadowMapGenerator () override | |
void | render (const Camera &playerCamera, Light &light, U16 lightIndex, GFX::CommandBuffer &bufferInOut, GFX::MemoryBarrierCommand &memCmdInOut) override |
void | updateMSAASampleCount (U8 sampleCount) override |
![]() | |
virtual | ~ShadowMapGenerator ()=default |
Protected Member Functions | |
void | blurTarget (U16 layerOffset, GFX::CommandBuffer &bufferInOut) |
![]() | |
ShadowMapGenerator (GFXDevice &context, ShadowType type) noexcept | |
virtual void | render (const Camera &playerCamera, Light &light, U16 lightIndex, GFX::CommandBuffer &bufferInOut, GFX::MemoryBarrierCommand &memCmdInOut)=0 |
virtual void | updateMSAASampleCount (const U8 sampleCount) |
Protected Attributes | |
Pipeline * | _blurPipeline = nullptr |
Handle< ShaderProgram > | _blurDepthMapShader = INVALID_HANDLE<ShaderProgram> |
RenderTargetHandle | _drawBufferDepth |
RenderTargetHandle | _blurBuffer |
PushConstantsStruct | _shaderConstants |
![]() | |
GFXDevice & | _context |
const ShadowType | _type |
A single shadow map system. Used, for example, by spot lights.
Definition at line 47 of file SingleShadowMapGenerator.h.
|
explicit |
Definition at line 32 of file SingleShadowMapGenerator.cpp.
|
override |
Definition at line 166 of file SingleShadowMapGenerator.cpp.
|
protected |
Definition at line 235 of file SingleShadowMapGenerator.cpp.
|
overridevirtual |
Implements Divide::ShadowMapGenerator.
Definition at line 175 of file SingleShadowMapGenerator.cpp.
|
overridevirtual |
Reimplemented from Divide::ShadowMapGenerator.
Definition at line 299 of file SingleShadowMapGenerator.cpp.
|
protected |
Definition at line 63 of file SingleShadowMapGenerator.h.
|
protected |
Definition at line 61 of file SingleShadowMapGenerator.h.
|
protected |
Definition at line 60 of file SingleShadowMapGenerator.h.
|
protected |
Definition at line 62 of file SingleShadowMapGenerator.h.
|
protected |
Definition at line 64 of file SingleShadowMapGenerator.h.