Falco Engine 3.9.0.1 (beta)
FalcoEngine.RenderTexture Class Reference
Inheritance diagram for FalcoEngine.RenderTexture:
FalcoEngine.Object

Public Types

enum  TextureType { ColorWithDepth , ColorOnly }
 Render texture type More...
 

Public Member Functions

 RenderTexture (int w, int h)
 Create new render texture More...
 
 RenderTexture (int w, int h, TextureType textureType)
 Create new render texture More...
 
void Reset (int w, int h)
 Recreate this render texture with new width and height More...
 
void Dispose ()
 Delete unmanaged resources for this render texture used by engine More...
 

Properties

Texture colorTexture [get]
 Get texture containing a color data More...
 
Texture depthTexture [get]
 Get texture containing a depth data More...
 

Detailed Description

Definition at line 6 of file RenderTexture.cs.

Member Enumeration Documentation

◆ TextureType

Render texture type

Enumerator
ColorWithDepth 
ColorOnly 

Definition at line 11 of file RenderTexture.cs.

Constructor & Destructor Documentation

◆ RenderTexture() [1/2]

FalcoEngine.RenderTexture.RenderTexture ( int  w,
int  h 
)

Create new render texture

Parameters
wWidth
hHeight

Definition at line 20 of file RenderTexture.cs.

◆ RenderTexture() [2/2]

FalcoEngine.RenderTexture.RenderTexture ( int  w,
int  h,
TextureType  textureType 
)

Create new render texture

Parameters
wWidth
hHeight
textureTypeTexture type

Definition at line 31 of file RenderTexture.cs.

Member Function Documentation

◆ Dispose()

void FalcoEngine.RenderTexture.Dispose ( )

Delete unmanaged resources for this render texture used by engine

Definition at line 70 of file RenderTexture.cs.

◆ Reset()

void FalcoEngine.RenderTexture.Reset ( int  w,
int  h 
)

Recreate this render texture with new width and height

Parameters
wNew width
hNew height

Property Documentation

◆ colorTexture

Texture FalcoEngine.RenderTexture.colorTexture
get

Get texture containing a color data

Definition at line 47 of file RenderTexture.cs.

◆ depthTexture

Texture FalcoEngine.RenderTexture.depthTexture
get

Get texture containing a depth data

Definition at line 52 of file RenderTexture.cs.


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