Esempio n. 1
0
 public bool Equals(ref SpotLightTextureParameters other)
 {
     return(Equals(ProjectionTexture, other.ProjectionTexture) &&
            FlipMode == other.FlipMode &&
            UVScale == other.UVScale &&
            UVOffset == other.UVOffset);
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 public bool Equals(SpotLightTextureParameters other)
 {
     return(Equals(ref other));
 }
Esempio n. 4
0
 /// <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;
 }
Esempio n. 5
0
 public TextureProjectionRendererKey(SpotLightTextureParameters spotParameters)
 {
     SpotLightParameters = spotParameters;
 }