프로퍼티 | 타입 | 설명 | |
---|---|---|---|
indexBuffer | |||
state | |||
textures | Vector.Gpu.TextureBase[] | ||
vertexDeclaration |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Create ( ) : void |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public Clear ( float red, float green, float blue, float alpha ) : void | ||
red | float | |
green | float | |
blue | float | |
alpha | float | |
리턴 | void |
public DrawInstanced ( Topology topology, int primitiveCount ) : void | ||
topology | Topology | |
primitiveCount | int | |
리턴 | void |
public SetVertexBuffer ( int streamIndex, VertexBuffer vertexBuffer ) : void | ||
streamIndex | int | |
vertexBuffer | VertexBuffer | |
리턴 | void |