Derm.Render.ShaderAttributesProxy Class Reference

Rendered attribute buffers proxy. More...

Inheritance diagram for Derm.Render.ShaderAttributesProxy:
Derm.Render.BaseShaderAttributes Derm.Render.IShaderState

List of all members.

Public Member Functions

 ShaderAttributesProxy (ShaderAttributes target)
 Construct a ShaderAttributesProxy targeting a ShaderAttributes instance.
override void Render (RenderContext ctx, ShaderProgram sProgram)
 Render vertices attributes.

Properties

override IEnumerable< string > Bindings [get]
 Current attributes bindings.

Detailed Description

Rendered attribute buffers proxy.

This class is dedicated to supply data to ShaderProgram instances, and execute ShaderProgram instances based on the input set. The difference between this class and the ShaderAttributes class is that this class reference an already existing ShaderAttributes instance.

This class allow to reference an already existing ShaderAttributes class, without duplicating the buffers.


Constructor & Destructor Documentation

Derm.Render.ShaderAttributesProxy.ShaderAttributesProxy ( ShaderAttributes  target  ) 

Construct a ShaderAttributesProxy targeting a ShaderAttributes instance.

Parameters:
target 

Member Function Documentation

override void Derm.Render.ShaderAttributesProxy.Render ( RenderContext  ctx,
ShaderProgram  sProgram 
) [virtual]

Render vertices attributes.

Parameters:
ctx A RenderContext used for rendering.
sProgram A ShaderProgram used for rendering.

Implements Derm.Render.BaseShaderAttributes.


Property Documentation

override IEnumerable<string> Derm.Render.ShaderAttributesProxy.Bindings [get]

Current attributes bindings.

Reimplemented from Derm.Render.BaseShaderAttributes.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads