![]() |
Paradox Game Engine
v1.0.0 beta06
|
A description for Image. More...
Public Member Functions | |
bool | Equals (ImageDescription other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (ImageDescription left, ImageDescription right) |
static bool | operator!= (ImageDescription left, ImageDescription right) |
Public Attributes | |
TextureDimension | Dimension |
The dimension of a texture. More... | |
int | Width |
int | Height |
int | Depth |
int | ArraySize |
int | MipLevels |
PixelFormat | Format |
A description for Image.
Definition at line 36 of file ImageDescription.cs.
bool SiliconStudio.Paradox.Graphics.ImageDescription.Equals | ( | ImageDescription | other | ) |
Definition at line 88 of file ImageDescription.cs.
References SiliconStudio.Paradox.Graphics.ImageDescription.ArraySize, SiliconStudio.Paradox.Graphics.ImageDescription.Depth, SiliconStudio.Paradox.Graphics.ImageDescription.Format, SiliconStudio.Paradox.Graphics.ImageDescription.Height, SiliconStudio.Paradox.Graphics.ImageDescription.MipLevels, and SiliconStudio.Paradox.Graphics.ImageDescription.Width.
override bool SiliconStudio.Paradox.Graphics.ImageDescription.Equals | ( | object | obj | ) |
Definition at line 93 of file ImageDescription.cs.
override int SiliconStudio.Paradox.Graphics.ImageDescription.GetHashCode | ( | ) |
Definition at line 99 of file ImageDescription.cs.
|
static |
Definition at line 119 of file ImageDescription.cs.
|
static |
Definition at line 114 of file ImageDescription.cs.
override string SiliconStudio.Paradox.Graphics.ImageDescription.ToString | ( | ) |
Definition at line 124 of file ImageDescription.cs.
int SiliconStudio.Paradox.Graphics.ImageDescription.ArraySize |
Number of textures in the array. The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture1DArraySize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
This field is only valid for Texture1D, Texture2D and TextureCube
This field is only valid for textures: Texture1D, Texture2D and TextureCube.
Definition at line 76 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().
int SiliconStudio.Paradox.Graphics.ImageDescription.Depth |
Texture depth (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture3DSize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
This field is only valid for Texture3D.
Definition at line 65 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().
TextureDimension SiliconStudio.Paradox.Graphics.ImageDescription.Dimension |
The dimension of a texture.
Definition at line 41 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.Texture1D.New(), SiliconStudio.Paradox.Graphics.Texture3D.New(), SiliconStudio.Paradox.Graphics.Texture2D.New(), SiliconStudio.Paradox.Graphics.TextureCube.New(), and SiliconStudio.Paradox.Graphics.Texture.New().
PixelFormat SiliconStudio.Paradox.Graphics.ImageDescription.Format |
Texture format (see SharpDX.DXGI.Format).
Definition at line 86 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().
int SiliconStudio.Paradox.Graphics.ImageDescription.Height |
Texture height (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture3DSize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
This field is only valid for Texture2D, Texture3D and TextureCube.
Definition at line 57 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().
int SiliconStudio.Paradox.Graphics.ImageDescription.MipLevels |
The maximum number of mipmap levels in the texture. See the remarks in SharpDX.Direct3D11.ShaderResourceViewDescription.Texture1DResource. Use 1 for a multisampled texture; or 0 to generate a full set of subtextures.
Definition at line 81 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().
int SiliconStudio.Paradox.Graphics.ImageDescription.Width |
Texture width (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture1DSize (16384). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
This field is valid for all textures: Texture1D, Texture2D, Texture3D and TextureCube.
Definition at line 49 of file ImageDescription.cs.
Referenced by SiliconStudio.Paradox.Graphics.ImageDescription.Equals().