C# Class XLibrary.GLUtils

Afficher le fichier Open project: swax/CodePerspective Class Usage Examples

Méthodes publiques

Méthode Description
BlendColors ( Color src, Color &tgt ) : void
DrawCube ( VertexBuffer vbo, Color color, float x, float z, float width, float length, float bottom, float height ) : void
SafeBegin ( BeginMode mode, System.Action code ) : void
SafeBlend ( System.Action code ) : void
SafeDisable ( EnableCap cap, System.Action code ) : void
SafeEnable ( EnableCap cap, System.Action code ) : void
SafeGLEnableClientStates ( ArrayCap caps, System.Action code ) : void
SafeSaveMatrix ( System.Action code ) : void

Method Details

BlendColors() public static méthode

public static BlendColors ( Color src, Color &tgt ) : void
src Color
tgt Color
Résultat void

DrawCube() public static méthode

public static DrawCube ( VertexBuffer vbo, Color color, float x, float z, float width, float length, float bottom, float height ) : void
vbo VertexBuffer
color Color
x float
z float
width float
length float
bottom float
height float
Résultat void

SafeBegin() public static méthode

public static SafeBegin ( BeginMode mode, System.Action code ) : void
mode BeginMode
code System.Action
Résultat void

SafeBlend() public static méthode

public static SafeBlend ( System.Action code ) : void
code System.Action
Résultat void

SafeDisable() public static méthode

public static SafeDisable ( EnableCap cap, System.Action code ) : void
cap EnableCap
code System.Action
Résultat void

SafeEnable() public static méthode

public static SafeEnable ( EnableCap cap, System.Action code ) : void
cap EnableCap
code System.Action
Résultat void

SafeGLEnableClientStates() public static méthode

public static SafeGLEnableClientStates ( ArrayCap caps, System.Action code ) : void
caps ArrayCap
code System.Action
Résultat void

SafeSaveMatrix() public static méthode

public static SafeSaveMatrix ( System.Action code ) : void
code System.Action
Résultat void