Property | Type | Description | |
---|---|---|---|
indexBuffer | |||
state | |||
textures | Vector.Gpu.TextureBase[] | ||
vertexDeclaration |
Method | Description | |
---|---|---|
Clear ( ClearFlags flags, float red, float green, float blue, float alpha, float depth, int stencil ) : void |
Clears the FrameBuffer.
|
|
Clear ( Color color ) : void |
Clears the FrameBuffer
|
|
Clear ( float red, float green, float blue, float alpha ) : void |
Clears the FrameBuffer. (Automatically Clears the Depth Buffer Bit, Stencil Color Bit and the Color Bit)
|
|
Device ( ) : System | ||
Dispose ( ) : void |
Disposes this Object
|
|
Draw ( Topology topology ) : void |
Draws the currently bound source objects associated with this device. A valid VertexDeclaration, VertexBuffer, IndexBuffer and Optional Texture must be bound before calling this method.
|
|
DrawInstanced ( Topology topology, int primitiveCount ) : void |
Only Availible on NVidia 8800's (Time of writing). Draws buffers as instanced. Primitive Count refers to the amount of times the object is drawn. inside a shader. The instance can be looked up via the gl_InstanceId sematic.
|
|
GetExtensions ( ) : string[] | ||
Present ( ) : void |
Presents the Current OpenGL framebuffer to the drawing surface
|
|
SetVertexBuffer ( int streamIndex, VertexBuffer vertexBuffer ) : void |
Sets the Vertex Buffer for a given rendering pass.
|
Method | Description | |
---|---|---|
Create ( ) : void |
Method | Description | |
---|---|---|
DisableTextures ( ) : void | ||
DisableVertexDeclaration ( ) : void | ||
EnableStates ( ) : void | ||
EnableTextures ( ) : void | ||
EnableVertexDeclaration ( ) : void |
public Clear ( ClearFlags flags, float red, float green, float blue, float alpha, float depth, int stencil ) : void | ||
flags | ClearFlags | |
red | float | |
green | float | |
blue | float | |
alpha | float | |
depth | float | |
stencil | int | |
return | void |
public Clear ( float red, float green, float blue, float alpha ) : void | ||
red | float | |
green | float | |
blue | float | |
alpha | float | |
return | void |
public DrawInstanced ( Topology topology, int primitiveCount ) : void | ||
topology | Topology | |
primitiveCount | int | |
return | void |
public SetVertexBuffer ( int streamIndex, VertexBuffer vertexBuffer ) : void | ||
streamIndex | int | |
vertexBuffer | VertexBuffer | |
return | void |
protected TextureBase[],Vector.Gpu textures | ||
return | Vector.Gpu.TextureBase[] |