|
Rebel Fork Framework
|
Region of shadow map that contains one or more shadow split. More...
#include <Urho3D/RenderPipeline/RenderPipelineDefs.h>
Public Member Functions | |
| operator bool () const | |
| Return whether the shadow map region is not empty. | |
| ShadowMapRegion | GetSplit (unsigned split, const IntVector2 &numSplits) const |
Public Attributes | |
| unsigned | pageIndex_ {} |
| Texture2D * | texture_ |
| IntRect | rect_ |
Region of shadow map that contains one or more shadow split.
| ShadowMapRegion Urho3D::ShadowMapRegion::GetSplit | ( | unsigned | split, |
| const IntVector2 & | numSplits | ||
| ) | const |
Return sub-region for split. Splits are indexed as elements in rectangle grid, from left to right, top to bottom, row-major.