C# Класс EmptyKeys.UserInterface.Media.MonoGameGeometryBuffer

Implements Mono Game specific geometry buffer
Наследование: GeometryBuffer
Показать файл Открыть проект

Открытые методы

Метод Описание
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)

MonoGameGeometryBuffer ( ) : System

Initializes a new instance of the MonoGameGeometryBuffer class.

Приватные методы

Метод Описание
SetPrimitiveCount ( GeometryPrimitiveType primitiveType, int pointCount ) : void

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

FillColor() публичный Метод

Fills the color type buffer (VertexPositionColor)
public FillColor ( List points, GeometryPrimitiveType primitiveType ) : void
points List The points.
primitiveType GeometryPrimitiveType Type of the primitive.
Результат void

FillTexture() публичный Метод

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.
Результат void

MonoGameGeometryBuffer() публичный Метод

Initializes a new instance of the MonoGameGeometryBuffer class.
public MonoGameGeometryBuffer ( ) : System
Результат System