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
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
The ShaderWithFormatCreationData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ShaderWithFormatCreationData | Initializes a new instance of the ShaderWithFormatCreationData class | |
ShaderWithFormatCreationData(ShaderFlags, String, String, String, String, VertexFormat) | Initializes a new instance of the ShaderWithFormatCreationData class |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from ShaderCreationData.) | |
Equals(ContentCreationData) | (Overrides ShaderCreationData Equals(ContentCreationData).) | |
GetHashCode | (Overrides ShaderCreationData GetHashCode .) |
Properties
Name | Description | |
---|---|---|
DX11Code | ||
DX9Code | ||
Flags | (Inherited from ShaderCreationData.) | |
Format | ||
FragmentCode | ||
VertexCode |
See Also