Expose RenderContext to scripting API
This commit is contained in:
@@ -450,7 +450,7 @@ public:
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The high-level renderer context. Used to collect the draw calls for the scene rendering. Can be used to perform a custom rendering.
|
/// The high-level renderer context. Used to collect the draw calls for the scene rendering. Can be used to perform a custom rendering.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_STRUCT(NoDefault) struct RenderContext
|
API_STRUCT(NoDefault) struct FLAXENGINE_API RenderContext
|
||||||
{
|
{
|
||||||
DECLARE_SCRIPTING_TYPE_MINIMAL(RenderContext);
|
DECLARE_SCRIPTING_TYPE_MINIMAL(RenderContext);
|
||||||
|
|
||||||
@@ -491,7 +491,7 @@ API_STRUCT(NoDefault) struct RenderContext
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The high-level renderer context batch that encapsulates multiple rendering requests within a single task (eg. optimize main view scene rendering and shadow projections at once).
|
/// The high-level renderer context batch that encapsulates multiple rendering requests within a single task (eg. optimize main view scene rendering and shadow projections at once).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_STRUCT(NoDefault) struct RenderContextBatch
|
API_STRUCT(NoDefault) struct FLAXENGINE_API RenderContextBatch
|
||||||
{
|
{
|
||||||
DECLARE_SCRIPTING_TYPE_MINIMAL(RenderContextBatch);
|
DECLARE_SCRIPTING_TYPE_MINIMAL(RenderContextBatch);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user