C# Class Flood.GUI.GUIGeometryBuffer

Inheritance: ManagedGeometryBuffer
ファイルを表示 Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
AddRectangle ( RectangleF rect, System.Color color ) : void
AddRectangle ( RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV, ResourceHandle imageHandle, System.Color color ) : void
AddRectangle ( RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV, ResourceHandle materialHandle, System.Color color ) : void
GUIGeometryBuffer ( ZCounter zCounter ) : System

Protected Methods

Method Description
CreateGeometryBuffer ( ) : GeometryBuffer
CreateMaterial ( ResourceHandle imageHandle ) : ResourceHandle

Private Methods

Method Description
InitVetexes ( Vertex &v1, Vertex &v2, Vertex &v3, Vertex &v4, RectangleF rect, System.Color color, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV ) : void

Method Details

AddRectangle() public method

public AddRectangle ( RectangleF rect, System.Color color ) : void
rect RectangleF
color System.Color
return void

AddRectangle() public method

public AddRectangle ( RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV, ResourceHandle imageHandle, System.Color color ) : void
rect RectangleF
topLeftUV System.Vector2
topRightUV System.Vector2
bottomRightUV System.Vector2
bottomLeftUV System.Vector2
imageHandle ResourceHandle
color System.Color
return void

AddRectangle() public method

public AddRectangle ( RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV, ResourceHandle materialHandle, System.Color color ) : void
rect RectangleF
topLeftUV System.Vector2
topRightUV System.Vector2
bottomRightUV System.Vector2
bottomLeftUV System.Vector2
materialHandle ResourceHandle
color System.Color
return void

CreateGeometryBuffer() protected method

protected CreateGeometryBuffer ( ) : GeometryBuffer
return GeometryBuffer

CreateMaterial() protected method

protected CreateMaterial ( ResourceHandle imageHandle ) : ResourceHandle
imageHandle ResourceHandle
return ResourceHandle

GUIGeometryBuffer() public method

public GUIGeometryBuffer ( ZCounter zCounter ) : System
zCounter ZCounter
return System