C# Class Afterglow.Graphics.SlimDXFactory

SlimDX specific implementation of the api factory to provide all implementations of the abstract class or interfaces needed to use an api.
Inheritance: IApiFactory
Afficher le fichier Open project: Christof/afterglow

Méthodes publiques

Méthode Description
CreateMatrixParameter ( string semanticName ) : SemanticEffectParameter

Creates a matrix effect parameter for the given semantic.

CreateObjectRenderer ( IEffect effect, BufferBinding bufferBindings ) : IObjectRenderer

Creates a new object renderer with the given effect and buffer bindings.

CreateRenderWindow ( Control control ) : IRenderWindow

Creates a new render window.

CreateTexture ( string filename ) : ITexture

Creates a new texture from the given file.

CreateTextureParameter ( string semanticName, ITexture texture ) : SemanticEffectParameter

Creates a texture effect parameter.

GetBufferService ( ) : IBufferService

Gets a buffer service to create buffer bindings.

GetEffectCompiler ( ) : IEffectCompiler

Gets the effect compiler.

Method Details

CreateMatrixParameter() public méthode

Creates a matrix effect parameter for the given semantic.
public CreateMatrixParameter ( string semanticName ) : SemanticEffectParameter
semanticName string Name of the semantic.
Résultat SemanticEffectParameter

CreateObjectRenderer() public méthode

Creates a new object renderer with the given effect and buffer bindings.
public CreateObjectRenderer ( IEffect effect, BufferBinding bufferBindings ) : IObjectRenderer
effect IEffect The effect which should be applied.
bufferBindings Afterglow.Graphics.GraphicStreams.BufferBinding The buffer bindings which contain all vertex and index data.
Résultat IObjectRenderer

CreateRenderWindow() public méthode

Creates a new render window.
public CreateRenderWindow ( Control control ) : IRenderWindow
control System.Windows.Forms.Control The control in which the content will be rendered.
Résultat IRenderWindow

CreateTexture() public méthode

Creates a new texture from the given file.
public CreateTexture ( string filename ) : ITexture
filename string The filename.
Résultat ITexture

CreateTextureParameter() public méthode

Creates a texture effect parameter.
public CreateTextureParameter ( string semanticName, ITexture texture ) : SemanticEffectParameter
semanticName string Name of the semantic.
texture ITexture The texture.
Résultat SemanticEffectParameter

GetBufferService() public méthode

Gets a buffer service to create buffer bindings.
public GetBufferService ( ) : IBufferService
Résultat IBufferService

GetEffectCompiler() public méthode

Gets the effect compiler.
public GetEffectCompiler ( ) : IEffectCompiler
Résultat IEffectCompiler