C# Class Glare.Graphics.Simulation.DynamicTexture

This is a texture manager for dynamics like deformable terrain and fluids.
显示文件 Open project: Burton-Radons/Alexandria

Public Methods

Method Description
Clear ( Vector4d value, FlatTexture target, int level ) : void
Clear ( Vector4d value, TextureLevel target ) : void
Clear ( Vector4d value, TextureSurface target, int level ) : void
Clear ( double value, FlatTexture target, int level ) : void
Clear ( double value, TextureLevel target ) : void
Clear ( double value, TextureSurface target, int level ) : void
DynamicTexture ( Context context, System.Text.Format format, Vector2i size ) : System
DynamicTexture ( Context context, System.Text.Format format, Vector3i size ) : System
DynamicTexture ( Context context, System.Text.Format format, Vector4i size ) : System
DynamicTexture ( Context context, System.Text.Format format, int sizeX, int sizeY, int sizeZ = 1, int sizeW = 1 ) : System

Protected Methods

Method Description
CreateTexture2D ( ) : Texture2D
CreateTexture3D ( ) : Texture3D
CreateTextureCache2D ( int initialCount ) : TextureCache2D
CreateTextureCube ( ) : TextureCube

Private Methods

Method Description
Run ( TextureLevel target, string action ) : void

Method Details

Clear() public method

public Clear ( Vector4d value, FlatTexture target, int level ) : void
value Vector4d
target FlatTexture
level int
return void

Clear() public method

public Clear ( Vector4d value, TextureLevel target ) : void
value Vector4d
target TextureLevel
return void

Clear() public method

public Clear ( Vector4d value, TextureSurface target, int level ) : void
value Vector4d
target TextureSurface
level int
return void

Clear() public method

public Clear ( double value, FlatTexture target, int level ) : void
value double
target FlatTexture
level int
return void

Clear() public method

public Clear ( double value, TextureLevel target ) : void
value double
target TextureLevel
return void

Clear() public method

public Clear ( double value, TextureSurface target, int level ) : void
value double
target TextureSurface
level int
return void

CreateTexture2D() protected method

protected CreateTexture2D ( ) : Texture2D
return Texture2D

CreateTexture3D() protected method

protected CreateTexture3D ( ) : Texture3D
return Texture3D

CreateTextureCache2D() protected method

protected CreateTextureCache2D ( int initialCount ) : TextureCache2D
initialCount int
return TextureCache2D

CreateTextureCube() protected method

protected CreateTextureCube ( ) : TextureCube
return TextureCube

DynamicTexture() public method

public DynamicTexture ( Context context, System.Text.Format format, Vector2i size ) : System
context Context
format System.Text.Format
size Vector2i
return System

DynamicTexture() public method

public DynamicTexture ( Context context, System.Text.Format format, Vector3i size ) : System
context Context
format System.Text.Format
size Vector3i
return System

DynamicTexture() public method

public DynamicTexture ( Context context, System.Text.Format format, Vector4i size ) : System
context Context
format System.Text.Format
size Vector4i
return System

DynamicTexture() public method

public DynamicTexture ( Context context, System.Text.Format format, int sizeX, int sizeY, int sizeZ = 1, int sizeW = 1 ) : System
context Context
format System.Text.Format
sizeX int
sizeY int
sizeZ int
sizeW int
return System