Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts: # Content/Editor/MaterialTemplates/Deformable.shader # Flax.flaxproj # Source/Engine/Content/Content.h # Source/Engine/Serialization/JsonTools.cpp
This commit is contained in:
@@ -52,13 +52,10 @@ IMaterial::BindParameters::BindParameters(::GPUContext* context, const ::RenderC
|
||||
}
|
||||
|
||||
IMaterial::BindParameters::BindParameters(::GPUContext* context, const ::RenderContext& renderContext, const ::DrawCall& drawCall, bool instanced)
|
||||
: GPUContext(context)
|
||||
, RenderContext(renderContext)
|
||||
, DrawCall(&drawCall)
|
||||
, Time(Time::Draw.UnscaledTime.GetTotalSeconds())
|
||||
, ScaledTime(Time::Draw.Time.GetTotalSeconds())
|
||||
, Instanced(instanced)
|
||||
: BindParameters(context, renderContext)
|
||||
{
|
||||
DrawCall = &drawCall;
|
||||
Instanced = instanced;
|
||||
}
|
||||
|
||||
GPUConstantBuffer* IMaterial::BindParameters::PerViewConstants = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user