Falco Engine 3.9.0.1 (beta)
FalcoEngine.Texture Class Reference
Inheritance diagram for FalcoEngine.Texture:
FalcoEngine.Asset

Static Public Member Functions

static Texture Load (string name)
 Load existing texture More...
 
static Texture FromBytesRGBA8 (sbyte[] data, int width, int height)
 Create texture from bytes containing RGBA data More...
 

Properties

int width [get]
 Get texture width More...
 
int height [get]
 Get texture height More...
 
- Properties inherited from FalcoEngine.Asset
string name [get]
 Get asset name More...
 

Detailed Description

Definition at line 7 of file Texture.cs.

Member Function Documentation

◆ FromBytesRGBA8()

static Texture FalcoEngine.Texture.FromBytesRGBA8 ( sbyte[]  data,
int  width,
int  height 
)
static

Create texture from bytes containing RGBA data

Parameters
dataByte array
widthTexture width
heightTexture height
Returns

Definition at line 36 of file Texture.cs.

◆ Load()

static Texture FalcoEngine.Texture.Load ( string  name)
static

Load existing texture

Parameters
nameName of the existing texture
Returns
Loaded texture

Definition at line 24 of file Texture.cs.

Property Documentation

◆ height

int FalcoEngine.Texture.height
get

Get texture height

Definition at line 17 of file Texture.cs.

◆ width

int FalcoEngine.Texture.width
get

Get texture width

Definition at line 12 of file Texture.cs.


The documentation for this class was generated from the following file: