ShaderWithFormatCreationData ClassDelta Engine Documentation
Creates a shader directly from vertex and fragment shader code for OpenGL frameworks plus HLSL code for DirectX frameworks. If you only provide shader code for a specific framework, it breaks multiplatform compatibility. Use this only for testing and use content normally. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Content ShaderCreationData
    DeltaEngine.Graphics ShaderWithFormatCreationData

Namespace: DeltaEngine.Graphics
Assembly: DeltaEngine.Graphics (in DeltaEngine.Graphics.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class ShaderWithFormatCreationData : ShaderCreationData

The ShaderWithFormatCreationData type exposes the following members.

Constructors

  NameDescription
Protected methodShaderWithFormatCreationData 
Initializes a new instance of the ShaderWithFormatCreationData class
Public methodShaderWithFormatCreationData(ShaderFlags, String, String, String, String, VertexFormat)
Initializes a new instance of the ShaderWithFormatCreationData class
Top
Methods

  NameDescription
Public methodEquals(Object) (Inherited from ShaderCreationData.)
Public methodEquals(ContentCreationData) (Overrides ShaderCreationData Equals(ContentCreationData).)
Public methodGetHashCode (Overrides ShaderCreationData GetHashCode .)
Top
Properties

  NameDescription
Public propertyDX11Code
Public propertyDX9Code
Public propertyFlags (Inherited from ShaderCreationData.)
Public propertyFormat
Public propertyFragmentCode
Public propertyVertexCode
Top
See Also