Table of Contents

Class Texture2D

Namespace
Axolotl2D.Rendering
Assembly
Axolotl2D.dll

An RGBA texture shared by every sprite that references it.

public sealed class Texture2D
Inheritance
Texture2D
Inherited Members

Constructors

Texture2D(int, int, byte[])

public Texture2D(int width, int height, byte[] rgbaPixels)

Parameters

width int
height int
rgbaPixels byte[]

Properties

Height

public int Height { get; }

Property Value

int

Width

public int Width { get; }

Property Value

int