C# Class EmptyKeys.UserInterface.Media.FNAGeometryBuffer

Implements FNA specific geometry buffer
Inheritance: GeometryBuffer
Afficher le fichier Open project: EmptyKeys/UI_Engines

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

FNAGeometryBuffer ( ) : System

Initializes a new instance of the FNAGeometryBuffer class.

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)

Private Methods

Méthode Description
SetPrimitiveCount ( GeometryPrimitiveType primitiveType, int pointCount ) : void

Method Details

Dispose() public méthode

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

FNAGeometryBuffer() public méthode

Initializes a new instance of the FNAGeometryBuffer class.
public FNAGeometryBuffer ( ) : System
Résultat System

FillColor() public méthode

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

FillTexture() public méthode

Fills the texture type buffer (VertexPositionTexture)
public 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.
Résultat void