C# Class Flood.GUI.ManagedGeometryBuffer

Show file Open project: FloodProject/flood

Public Methods

Method Description
Clear ( ) : void
Render ( RenderBlock rb ) : void

Protected Methods

Method Description
AddQuad ( IntPtr v1, IntPtr v2, IntPtr v3, IntPtr v4, uint structSize, ResourceHandle imageHandle ) : void
AddQuad ( IntPtr v1, IntPtr v2, IntPtr v3, IntPtr v4, uint structSize, ResourceHandle materialHandle ) : void
CreateGeometryBuffer ( ) : GeometryBuffer
CreateMaterial ( ResourceHandle imageHandle ) : ResourceHandle
ManagedGeometryBuffer ( ) : System

Private Methods

Method Description
GetCreateBatchInfo ( ResourceHandle materialHandle ) : BatchInfo
GetCreateMaterial ( ResourceHandle imageHandle ) : ResourceHandle

Method Details

AddQuad() protected method

protected AddQuad ( IntPtr v1, IntPtr v2, IntPtr v3, IntPtr v4, uint structSize, ResourceHandle imageHandle ) : void
v1 System.IntPtr
v2 System.IntPtr
v3 System.IntPtr
v4 System.IntPtr
structSize uint
imageHandle ResourceHandle
return void

AddQuad() protected method

protected AddQuad ( IntPtr v1, IntPtr v2, IntPtr v3, IntPtr v4, uint structSize, ResourceHandle materialHandle ) : void
v1 System.IntPtr
v2 System.IntPtr
v3 System.IntPtr
v4 System.IntPtr
structSize uint
materialHandle ResourceHandle
return void

Clear() public method

public Clear ( ) : void
return void

CreateGeometryBuffer() protected abstract method

protected abstract CreateGeometryBuffer ( ) : GeometryBuffer
return GeometryBuffer

CreateMaterial() protected abstract method

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

ManagedGeometryBuffer() protected method

protected ManagedGeometryBuffer ( ) : System
return System

Render() public method

public Render ( RenderBlock rb ) : void
rb RenderBlock
return void