Class Material.ShaderMaterialProperties
Groups all the properties for shader sources in a single accessor.
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public sealed class Material.ShaderMaterialProperties
Properties
| Edit this page View SourceComputeShader
Gets or sets compute shader source code.
Declaration
public string ComputeShader { get; set; }
Property Value
Type | Description |
---|---|
string |
FragmentShader
Gets or sets fragment (pixel) shader source code.
Declaration
public string FragmentShader { get; set; }
Property Value
Type | Description |
---|---|
string |
GeometryShader
Gets or sets geometry shader source code.
Declaration
public string GeometryShader { get; set; }
Property Value
Type | Description |
---|---|
string |
HasComputeShader
Gets if the material has a property for compute shader source code.
Declaration
public bool HasComputeShader { get; }
Property Value
Type | Description |
---|---|
bool |
HasFragmentShader
Gets if the material has a property for fragment (pixel) shader source code.
Declaration
public bool HasFragmentShader { get; }
Property Value
Type | Description |
---|---|
bool |
HasGeometryShader
Gets if the material has a property for geometry shader source code.
Declaration
public bool HasGeometryShader { get; }
Property Value
Type | Description |
---|---|
bool |
HasPrimitiveShader
Gets if the material has a property for primitive (domain) shader source code.
Declaration
public bool HasPrimitiveShader { get; }
Property Value
Type | Description |
---|---|
bool |
HasShaderLanguageType
Gets if the material has a property for shader language type.
Declaration
public bool HasShaderLanguageType { get; }
Property Value
Type | Description |
---|---|
bool |
HasTesselationShader
Gets if the material has a property for tesselation shader source code.
Declaration
public bool HasTesselationShader { get; }
Property Value
Type | Description |
---|---|
bool |
HasVertexShader
Gets if the material has a property for vertex shader source code.
Declaration
public bool HasVertexShader { get; }
Property Value
Type | Description |
---|---|
bool |
PrimitiveShader
Gets or sets primitive (domain) shader source code.
Declaration
public string PrimitiveShader { get; set; }
Property Value
Type | Description |
---|---|
string |
ShaderLanguageType
Gets or sets what language (HLSL, GLSL, etc) any shader source code in this material is of.
Declaration
public string ShaderLanguageType { get; set; }
Property Value
Type | Description |
---|---|
string |
TesselationShader
Gets or sets tesselation shader source code.
Declaration
public string TesselationShader { get; set; }
Property Value
Type | Description |
---|---|
string |
VertexShader
Gets or sets vertex shader source code.
Declaration
public string VertexShader { get; set; }
Property Value
Type | Description |
---|---|
string |