C# Class Glare.Graphics.Device

Show file Open project: Burton-Radons/Alexandria

Private Properties

Property Type Description
CheckError void
CreateError System.Exception
Device System
DrawStart void
GetDouble double
GetInt32 int
GetInt32 int
GetInt32 int
GetVector2d Vector2d
GetVector3i Vector3i
Initialize void
Lock ContextLock

Public Methods

Method Description
Clear ( Vector4d color = null, double depth = null, int stencil = null ) : void
DispatchCompute ( Vector2i numGroups ) : void
DispatchCompute ( Vector3i numGroups ) : void
DispatchCompute ( int numGroupsX = 1, int numGroupsY = 1, int numGroupsZ = 1 ) : void

Private Methods

Method Description
CheckError ( ) : void
CreateError ( ErrorCode code ) : Exception
Device ( ) : System
DrawStart ( Program program ) : void
GetDouble ( GetPName pname ) : double
GetInt32 ( GetIndexedPName pname, int index ) : int
GetInt32 ( GetPName pname ) : int
GetInt32 ( GetPName pname, int defaultValue ) : int
GetVector2d ( GetPName pname ) : Vector2d
GetVector3i ( GetIndexedPName pname ) : Vector3i
Initialize ( ) : void
Lock ( ) : ContextLock

Method Details

Clear() public static method

public static Clear ( Vector4d color = null, double depth = null, int stencil = null ) : void
color Vector4d
depth double
stencil int
return void

DispatchCompute() public static method

public static DispatchCompute ( Vector2i numGroups ) : void
numGroups Vector2i
return void

DispatchCompute() public static method

public static DispatchCompute ( Vector3i numGroups ) : void
numGroups Vector3i
return void

DispatchCompute() public static method

public static DispatchCompute ( int numGroupsX = 1, int numGroupsY = 1, int numGroupsZ = 1 ) : void
numGroupsX int
numGroupsY int
numGroupsZ int
return void