XLE  v0.02.0
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
SceneEngine::LightingParserContext Class Reference
Inheritance diagram for SceneEngine::LightingParserContext:
Inheritance graph
[legend]

Public Types

typedef std::function< void(RenderCore::Metal::DeviceContext &, LightingParserContext &)> PendingOverlay
 

Public Member Functions

MetricsBoxGetMetricsBox ()
 
void SetMetricsBox (MetricsBox *box)
 
ISceneParserGetSceneParser ()
 
void Reset ()
 
 LightingParserContext (const RenderCore::Techniques::TechniqueContext &techniqueContext)
 
- Public Member Functions inherited from RenderCore::Techniques::ParsingContext
ProjectionDescGetProjectionDesc ()
 
const ProjectionDescGetProjectionDesc () const
 
TechniqueContextGetTechniqueContext ()
 
const Metal::UniformsStreamGetGlobalUniformsStream () const
 
Metal::ConstantBufferGetGlobalTransformCB ()
 
Metal::ConstantBufferGetGlobalStateCB ()
 
void SetGlobalCB (Metal::DeviceContext &context, unsigned index, const void *newData, size_t dataSize)
 
std::shared_ptr< IStateSetResolverSetStateSetResolver (std::shared_ptr< IStateSetResolver > stateSetResolver)
 
const std::shared_ptr< IStateSetResolver > & GetStateSetResolver ()
 
const std::shared_ptr< Utility::ParameterBox > & GetStateSetEnvironment ()
 
void Process (const ::Assets::Exceptions::AssetException &e)
 
bool HasPendingAssets () const
 
bool HasInvalidAssets () const
 
bool HasErrorString () const
 
 ParsingContext (const TechniqueContext &techniqueContext)
 
ParsingContextoperator= (const ParsingContext &)=delete
 
 ParsingContext (const ParsingContext &)=delete
 

Public Attributes

std::vector< std::pair< LightId, PreparedDMShadowFrustum > > _preparedDMShadows
 
std::vector< std::pair< LightId, PreparedRTShadowFrustum > > _preparedRTShadows
 
std::vector< PendingOverlay > _pendingOverlays
 
std::vector< std::shared_ptr< ILightingParserPlugin > > _plugins
 
- Public Attributes inherited from RenderCore::Techniques::ParsingContext
std::unique_ptr< StringHelpers_stringHelpers
 

Friends

class AttachedSceneMarker
 
AttachedSceneMarker LightingParser_SetupScene (RenderCore::Metal::DeviceContext &, LightingParserContext &, ISceneParser *)
 Initialise basic states for scene rendering More...
 

Additional Inherited Members

- Protected Attributes inherited from RenderCore::Techniques::ParsingContext
Metal::ConstantBuffer _globalCBs [6]
 
std::unique_ptr< TechniqueContext_techniqueContext
 
AlignedUniquePtr< ProjectionDesc_projectionDesc
 
std::shared_ptr< IStateSetResolver_stateSetResolver
 
std::unique_ptr< Metal::UniformsStream_globalUniformsStream
 
std::vector< const Metal::ConstantBuffer * > _globalUniformsConstantBuffers
 

Friends And Related Function Documentation

AttachedSceneMarker LightingParser_SetupScene ( RenderCore::Metal::DeviceContext &  ,
LightingParserContext ,
ISceneParser  
)
friend

Initialise basic states for scene rendering

Some render operations don't want to use the full lighting parser structure. In these cases, you can use LightingParser_SetupScene() to initialise the global states that are normally managed by the lighting parser. Note – don't call this if you're using LightingParser_Execute.

See also
LightingParser_Execute

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