Rebel Fork Framework
Urho3D::ShadowMapRegion Struct Reference

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_ {}
 
Texture2Dtexture_
 
IntRect rect_
 

Detailed Description

Region of shadow map that contains one or more shadow split.

Member Function Documentation

◆ GetSplit()

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.


The documentation for this struct was generated from the following files: