Class Texture
[StrongConstructor(typeof(TextureConstructor))]
[StrongConstructor(typeof(TexturePromise))]
[EcsGuid("{920944BE-46BD-4CA8-B5A0-31F99C2D6951}")]
public class Texture : ResourceEntity, IEnumerable<EcsNode>, IEnumerable, IResourceInfo, IArc, IDisposable, IInitializer, IInitializer<TextureCreateInfo>, IInitializer<TextureConstructor>, IInitializer<TexturePromise>, IInitializerBase
- Inheritance
-
Texture
- Implements
- Inherited Members
Properties
Class
The class of this resource.
public override ResourceClass Class { get; }
Property Value
ColorSpace
The color space the texture is in.
public ImageColorSpace ColorSpace { get; }
Property Value
CreateInfo
public TextureCreateInfo CreateInfo { get; }
Property Value
Depth
Depth of the image in pixels.
public int Depth { get; }
Property Value
Format
The pixel format for this texture.
public ImageFormat Format { get; }
Property Value
Height
Height of the image in pixels.
public int Height { get; }
Property Value
MipLevels
public int MipLevels { get; }
Property Value
Width
Width of the image in pixels.
public int Width { get; }
Property Value
Methods
Initialize(TextureConstructor)
public void Initialize(TextureConstructor ctor)
Parameters
ctor
TextureConstructor
Initialize(TextureCreateInfo)
public void Initialize(TextureCreateInfo t1)
Parameters
Initialize(TexturePromise)
public void Initialize(TexturePromise promise)
Parameters
promise
TexturePromise