Skip to main content
Version: 0.9.0

TextureSize struct

One texture of a frame layout; width and height in pixels.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public readonly struct TextureSize

Constructors​

TextureSize(PixelFormat, uint, uint, uint)​

public TextureSize(PixelFormat format, uint width, uint height, uint arrayLayers)

Parameters

NameTypeDescription
formatPixelFormat
widthuint
heightuint
arrayLayersuint

Properties​

MemberDescription
Format
Width
Height
ArrayLayers

Format​

public PixelFormat Format { get; }

Value: PixelFormat

Width​

public uint Width { get; }

Value: uint

Height​

public uint Height { get; }

Value: uint

ArrayLayers​

public uint ArrayLayers { get; }

Value: uint