public bool Equals(ref SpotLightTextureParameters other) { return(Equals(ProjectionTexture, other.ProjectionTexture) && FlipMode == other.FlipMode && UVScale == other.UVScale && UVOffset == other.UVOffset); }
/// <summary> /// Initializes a new instance of the <see cref="LightSpotTextureProjectionRenderer"/> class. /// </summary> public LightSpotTextureProjectionRenderer(SpotLightTextureParameters parameters) { // TODO: What is this? shaderDataPool = new PoolListStruct <LightSpotTextureProjectionShaderData>(8, CreateLightSpotTextureProjectionShaderData); lightParameters = parameters; }
public bool Equals(SpotLightTextureParameters other) { return(Equals(ref other)); }
/// <summary> /// Initializes a new instance of the <see cref="LightSpotTextureProjectionGroupShaderData" /> class. /// </summary> /// <param name="shadowType">Type of the shadow.</param> /// <param name="lightCountMax">The light count maximum.</param> public LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters parameters) { lightParameters = parameters; }
public TextureProjectionRendererKey(SpotLightTextureParameters spotParameters) { SpotLightParameters = spotParameters; }