XLE
v0.02.0
|
Renders a visualisation of a material More...
#include <MaterialVisualisation.h>
Public Member Functions | |
virtual std::shared_ptr< IInputListener > | GetInputListener () |
virtual void | RenderToScene (RenderCore::IThreadContext *context, SceneEngine::LightingParserContext &parserContext) |
virtual void | RenderWidgets (RenderCore::IThreadContext *context, const RenderCore::Techniques::ProjectionDesc &projectionDesc) |
virtual void | SetActivationState (bool newState) |
MaterialVisLayer (std::shared_ptr< MaterialVisSettings > settings, std::shared_ptr< VisEnvSettings > envSettings, std::shared_ptr< MaterialVisObject > object) | |
Static Public Member Functions | |
static bool | Draw (RenderCore::IThreadContext &context, SceneEngine::LightingParserContext &lightingParser, const MaterialVisSettings &settings, const VisEnvSettings &envSettings, const MaterialVisObject &object) |
Protected Attributes | |
std::unique_ptr< Pimpl > | _pimpl |
Additional Inherited Members | |
Public Types inherited from PlatformRig::IOverlaySystem | |
typedef RenderOverlays::DebuggingDisplay::IInputListener | IInputListener |
Renders a visualisation of a material
Designed for tools, this layer will render a material on a generic piece of geometry, with generic environment settings.