Add MaterialShader::BindParameters to usable in game scripts

#3668
This commit is contained in:
Wojtek Figat
2025-09-12 18:04:01 +02:00
parent e3810a9938
commit 3d182c89f3

View File

@@ -156,8 +156,8 @@ public:
/// </summary>
GPUTextureView* Input = nullptr;
BindParameters(::GPUContext* context, const ::RenderContext& renderContext);
BindParameters(::GPUContext* context, const ::RenderContext& renderContext, const ::DrawCall& drawCall, bool instanced = false);
FLAXENGINE_API BindParameters(::GPUContext* context, const ::RenderContext& renderContext);
FLAXENGINE_API BindParameters(::GPUContext* context, const ::RenderContext& renderContext, const ::DrawCall& drawCall, bool instanced = false);
// Per-view shared constant buffer (see ViewData in MaterialCommon.hlsl).
static GPUConstantBuffer* PerViewConstants;