C# Class EmptyKeys.UserInterface.Media.GeometryBuffer

Implements abstract Geometry Buffer
Inheritance: IDisposable
Show file Open project: EmptyKeys/UI_Engines Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FillColor ( List points, GeometryPrimitiveType primitiveType ) : void

Fills the color type buffer (VertexPositionColor)

FillTexture ( List points, Size destinationSize, Rect sourceRect, GeometryPrimitiveType primitiveType ) : void

Fills the texture type buffer (VertexPositionTexture)

GeometryBuffer ( ) : System

Initializes a new instance of the GeometryBuffer class.

Method Details

Dispose() public abstract method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public abstract Dispose ( ) : void
return void

FillColor() public abstract method

Fills the color type buffer (VertexPositionColor)
public abstract FillColor ( List points, GeometryPrimitiveType primitiveType ) : void
points List The points.
primitiveType GeometryPrimitiveType Type of the primitive.
return void

FillTexture() public abstract method

Fills the texture type buffer (VertexPositionTexture)
public abstract FillTexture ( List points, Size destinationSize, Rect sourceRect, GeometryPrimitiveType primitiveType ) : void
points List The points.
destinationSize Size Size of the destination.
sourceRect Rect The source rect.
primitiveType GeometryPrimitiveType Type of the primitive.
return void

GeometryBuffer() public method

Initializes a new instance of the GeometryBuffer class.
public GeometryBuffer ( ) : System
return System