4 using System.ComponentModel;
6 using SiliconStudio.Core;
7 using SiliconStudio.Core.Serialization.Converters;
8 using SiliconStudio.Paradox.Effects;
9 using SiliconStudio.Paradox.EntityModel;
10 using SiliconStudio.Paradox.Graphics;
12 namespace SiliconStudio.
Paradox.Engine
18 [DataContract(
"CubemapBlendComponent")]
43 public bool Enabled {
get; set; }
50 public int Size {
get; set; }
57 public int MaxBlendCount {
get; set; }
63 public int MaxLod {
get;
private set; }
79 if (textureCube != null)
81 MaxLod = textureCube.Description.MipLevels - 1;
84 textureCube.ToRenderTarget(ViewType.Single, 0, 0),
85 textureCube.ToRenderTarget(
ViewType.Single, 1, 0),
86 textureCube.ToRenderTarget(ViewType.Single, 2, 0),
87 textureCube.ToRenderTarget(
ViewType.Single, 3, 0),
88 textureCube.ToRenderTarget(ViewType.Single, 4, 0),
89 textureCube.ToRenderTarget(
ViewType.Single, 5, 0)
Key of an effect parameter.
A renderable texture view.
A TextureCube frontend to SharpDX.Direct3D11.Texture2D.
Base class for converters to/from a data type.
CubemapBlendComponent()
Initializes a new instance of the CubemapBlendComponent class.
ViewType
Defines how a view is selected from a resource.
Performs a blend at the location of the containing entity. When enabled, takes the up to the MaxBlend...
A class that represents a tag propety.
Base class for texture resources.