C# Class CSharpGL.Query

Show file Open project: bitzhuwei/CSharpGL

Protected Properties

Property Type Description
ids uint[]

Public Methods

Method Description
BeginConditionalRender ( ConditionalRenderMode mode ) : void

Begin conditional rendering.

BeginConditionalRender ( uint mode ) : void

Begin conditional rendering.

BeginQuery ( QueryTarget target ) : void

Begin query.

delimit the boundaries of a query object.

BeginQuery ( uint target ) : void

Begin query.

delimit the boundaries of a query object.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EndConditionalRender ( ) : void

End conditional rendering.

EndQuery ( QueryTarget target ) : void

Een query.

EndQuery ( uint target ) : void

Een query.

Initialize ( ) : void

resources(bitmap etc.) can be disposed after this initialization.

SampleRendered ( ) : bool

ToString ( ) : string

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

BeginConditionalRender() public method

Begin conditional rendering.
public BeginConditionalRender ( ConditionalRenderMode mode ) : void
mode ConditionalRenderMode
return void

BeginConditionalRender() public method

Begin conditional rendering.
public BeginConditionalRender ( uint mode ) : void
mode uint
return void

BeginQuery() public method

Begin query.

delimit the boundaries of a query object.

public BeginQuery ( QueryTarget target ) : void
target QueryTarget Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery.
return void

BeginQuery() public method

Begin query.

delimit the boundaries of a query object.

public BeginQuery ( uint target ) : void
target uint Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

EndConditionalRender() public method

End conditional rendering.
public EndConditionalRender ( ) : void
return void

EndQuery() public method

Een query.
public EndQuery ( QueryTarget target ) : void
target QueryTarget Specifies the target type of query object to be concluded.s
return void

EndQuery() public method

Een query.
public EndQuery ( uint target ) : void
target uint Specifies the target type of query object to be concluded. The symbolic constant must be one of GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, or GL_TIME_ELAPSED.
return void

Initialize() public method

resources(bitmap etc.) can be disposed after this initialization.
public Initialize ( ) : void
return void

SampleRendered() public method

public SampleRendered ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

Property Details

ids protected property

texture's id/name.
protected uint[] ids
return uint[]