Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Contains set of compiled shaders, uniform parameter tables and sampler variable accessors, used in Shader.SetToDevice() method.

Namespace: Visual3D.Graphics3D.Shaders.SharpSL.Core
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class DeviceShader : IDisposable
Public Class DeviceShader _
	Implements IDisposable

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeviceShader()()()()
Initializes a new instance of the DeviceShader class
BindToDevice(RenderContext, Shader)
Binds a provided Shader instance to graphics device, using compiled Vertex and Pixel shaders and constant/sampler tables.
Compile(Shader)
Performs code generation, compilation of Shader instance and creates XNA shaders on success.
CompileFromContext(Shader, ShaderCompilationContext)
CreateXNAShadersFromMicrocode()()()()
Initializes this shader from the current shader microcode arrays. Skips if already has done this.
Dispose()()()()
Dispose(Boolean)
ErrorMessage
GenerateHLSL(Shader, Int64%, ShaderCompilationContext%)
HLSL
HLSLHash
IsDisposed

Inheritance Hierarchy

System..::..Object
  Visual3D.Graphics3D.Shaders.SharpSL.Core..::..DeviceShader

See Also