C# Class Fusion.Drivers.Graphics.PipelineState

Pipeline state represents all GPU states as single object.
Inheritance: GraphicsResource
Mostrar archivo Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
ApplyChanges ( ) : void

Applies changes to this pipeline state. This method is quite slow because performs a lot of checks and creates new internal states and objects. Do not call this method each frame, instead create pipeline state object for each case on init.

DisposeStates ( ) : void

Disposes states.

PipelineState ( GraphicsDevice device ) : System

SetupBlendState ( ) : void

SetupBlendState

SetupDepthStencilState ( ) : void

SetupRasterizerState ( ) : void

SetupRasterizerState

SetupShadersAndLayouts ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Set ( ) : void

Sets pipeline state.

Method Details

ApplyChanges() public method

Applies changes to this pipeline state. This method is quite slow because performs a lot of checks and creates new internal states and objects. Do not call this method each frame, instead create pipeline state object for each case on init.
public ApplyChanges ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DisposeStates() public method

Disposes states.
public DisposeStates ( ) : void
return void

PipelineState() public method

public PipelineState ( GraphicsDevice device ) : System
device GraphicsDevice
return System

SetupBlendState() public method

SetupBlendState
public SetupBlendState ( ) : void
return void

SetupDepthStencilState() public method

public SetupDepthStencilState ( ) : void
return void

SetupRasterizerState() public method

SetupRasterizerState
public SetupRasterizerState ( ) : void
return void

SetupShadersAndLayouts() public method

public SetupShadersAndLayouts ( ) : void
return void