Table of Contents

Struct TextureConstructor

Namespace
ReFuel.Resources
Assembly
ReFuel.dll
[Obsolete("Use the new TextureCreateInfo API instead.")]
public struct TextureConstructor
Inherited Members

Constructors

TextureConstructor(ImageFormat, int, int, int, nint, int, ImageColorSpace)

public TextureConstructor(ImageFormat format, int width, int height, int depth, nint imagePtr, int size = -1, ImageColorSpace colorSpace = ImageColorSpace.Linear)

Parameters

format ImageFormat
width int
height int
depth int
imagePtr nint
size int
colorSpace ImageColorSpace

TextureConstructor(ImageFormat, int, int, nint, int, ImageColorSpace)

public TextureConstructor(ImageFormat format, int width, int height, nint imagePtr, int size = -1, ImageColorSpace colorSpace = ImageColorSpace.Linear)

Parameters

format ImageFormat
width int
height int
imagePtr nint
size int
colorSpace ImageColorSpace

TextureConstructor(ResourceLoaderFailReason)

public TextureConstructor(ResourceLoaderFailReason reason)

Parameters

reason ResourceLoaderFailReason

Properties

ColorSpace

public readonly ImageColorSpace ColorSpace { get; }

Property Value

ImageColorSpace

Depth

public readonly int Depth { get; }

Property Value

int

FailReason

public readonly ResourceLoaderFailReason? FailReason { get; }

Property Value

ResourceLoaderFailReason

Format

public readonly ImageFormat Format { get; }

Property Value

ImageFormat

Height

public readonly int Height { get; }

Property Value

int

ImagePtr

public readonly nint ImagePtr { get; }

Property Value

nint

SizeInBytes

public readonly int SizeInBytes { get; }

Property Value

int

Width

public readonly int Width { get; }

Property Value

int