Table of Contents

Class Texture

Namespace
ReFuel.Resources
Assembly
ReFuel.dll
[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

ResourceClass

ColorSpace

The color space the texture is in.

public ImageColorSpace ColorSpace { get; }

Property Value

ImageColorSpace

CreateInfo

public TextureCreateInfo CreateInfo { get; }

Property Value

TextureCreateInfo

Depth

Depth of the image in pixels.

public int Depth { get; }

Property Value

int

Format

The pixel format for this texture.

public ImageFormat Format { get; }

Property Value

ImageFormat

Height

Height of the image in pixels.

public int Height { get; }

Property Value

int

MipLevels

public int MipLevels { get; }

Property Value

int

Width

Width of the image in pixels.

public int Width { get; }

Property Value

int

Methods

Initialize(TextureConstructor)

public void Initialize(TextureConstructor ctor)

Parameters

ctor TextureConstructor

Initialize(TextureCreateInfo)

public void Initialize(TextureCreateInfo t1)

Parameters

t1 TextureCreateInfo

Initialize(TexturePromise)

public void Initialize(TexturePromise promise)

Parameters

promise TexturePromise