C# Class Fusion.Drivers.Graphics.PipelineState

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Set ( ) : void

Sets pipeline state.

Method Details

ApplyChanges() public méthode

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
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DisposeStates() public méthode

Disposes states.
public DisposeStates ( ) : void
Résultat void

PipelineState() public méthode

public PipelineState ( GraphicsDevice device ) : System
device GraphicsDevice
Résultat System

SetupBlendState() public méthode

SetupBlendState
public SetupBlendState ( ) : void
Résultat void

SetupDepthStencilState() public méthode

public SetupDepthStencilState ( ) : void
Résultat void

SetupRasterizerState() public méthode

SetupRasterizerState
public SetupRasterizerState ( ) : void
Résultat void

SetupShadersAndLayouts() public méthode

public SetupShadersAndLayouts ( ) : void
Résultat void