XLE
v0.02.0
|
Public Types | |
typedef std::function< void(RenderCore::Metal::DeviceContext &, LightingParserContext &)> | PendingOverlay |
Public Member Functions | |
MetricsBox * | GetMetricsBox () |
void | SetMetricsBox (MetricsBox *box) |
ISceneParser * | GetSceneParser () |
void | Reset () |
LightingParserContext (const RenderCore::Techniques::TechniqueContext &techniqueContext) | |
Public Member Functions inherited from RenderCore::Techniques::ParsingContext | |
ProjectionDesc & | GetProjectionDesc () |
const ProjectionDesc & | GetProjectionDesc () const |
TechniqueContext & | GetTechniqueContext () |
const Metal::UniformsStream & | GetGlobalUniformsStream () const |
Metal::ConstantBuffer & | GetGlobalTransformCB () |
Metal::ConstantBuffer & | GetGlobalStateCB () |
void | SetGlobalCB (Metal::DeviceContext &context, unsigned index, const void *newData, size_t dataSize) |
std::shared_ptr< IStateSetResolver > | SetStateSetResolver (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) | |
ParsingContext & | operator= (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 |
|
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.