TextureSize struct
One texture of a frame layout; width and height in pixels.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public readonly struct TextureSize
Constructors
TextureSize(PixelFormat, uint, uint, uint)
public TextureSize(PixelFormat format, uint width, uint height, uint arrayLayers)
Parameters
| Name | Type | Description |
|---|---|---|
format | PixelFormat | |
width | uint | |
height | uint | |
arrayLayers | uint |
Properties
| Member | Description |
|---|---|
| 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