Class LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData
public class LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData : ITextureProjectionShaderGroupData
- Inheritance
-
LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData
- Implements
Constructors
LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters)
Initializes a new instance of the LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData class.
public LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters parameters)
Parameters
parameters
SpotLightTextureParameters
Properties
TextureProjectionShader
public ShaderMixinSource TextureProjectionShader { get; }
Property Value
Methods
ApplyDrawParameters(RenderDrawContext, ParameterCollection, FastListStruct<LightDynamicEntry>, ref BoundingBoxExt)
public void ApplyDrawParameters(RenderDrawContext context, ParameterCollection parameters, FastListStruct<LightDynamicEntry> currentLights, ref BoundingBoxExt boundingBox)
Parameters
context
RenderDrawContextparameters
ParameterCollectioncurrentLights
FastListStruct<LightDynamicEntry>boundingBox
BoundingBoxExt
ApplyShader(ShaderMixinSource)
public virtual void ApplyShader(ShaderMixinSource mixin)
Parameters
mixin
ShaderMixinSource
UpdateLayout(string)
public void UpdateLayout(string compositionName)
Parameters
compositionName
string
UpdateLightCount(int, int)
public void UpdateLightCount(int lightLastCount, int lightCurrentCount)