|
| | SkyShader (string vsc, string psc, bool useVertexColor, bool useTexture, bool useAlphaThreshold) |
| | SkyShader (string vsc, string psc, bool useVertexColor, bool useTexture, bool useAlphaThreshold, ShaderMacro[] shaderMacros=null) |
| virtual void | SetParameter () |
| override void | PrepareForDrawingOverride () |
| virtual ShaderParameter | GetParameter (string name, bool allowNull=false) |
| override int | GetGpuMemoryUsage () |
| virtual void | InitializeShader (string vertexShaderCode, string pixelShaderCode, ShaderMacro[] shaderMacros) |
| virtual void | Construct (string vertexShaderCode, string pixelShaderCode, params ShaderMacro[] shaderMacros) |
| | Shader (string vertexShaderCode, string pixelShaderCode, params ShaderMacro[] shaderMacros) |
| override void | Dispose () |
| virtual void | PrepareForDrawing () |
| virtual VertexAttributeData[] | GetVertexAttribData (VertexDeclaration vertexDeclaration) |
| virtual string | PrependShaderMacros (string shaderCode, ShaderMacro[] shaderMacros, bool isVertexShader) |
| override void | HandleDeviceLost () |
| override void | HandleDeviceReset () |
| virtual void | CompileShaders () |
| virtual void | DeleteShaders () |
| | GraphicsResource () |
| int | GetGpuMemoryUsage () |
| void | HandleDeviceLost () |
| void | HandleDeviceReset () |
| void | VerifyNotDisposed () |
◆ SkyShader() [1/2]
| Engine.Graphics.SkyShader.SkyShader |
( |
string | vsc, |
|
|
string | psc, |
|
|
bool | useVertexColor, |
|
|
bool | useTexture, |
|
|
bool | useAlphaThreshold ) |
◆ SkyShader() [2/2]
| Engine.Graphics.SkyShader.SkyShader |
( |
string | vsc, |
|
|
string | psc, |
|
|
bool | useVertexColor, |
|
|
bool | useTexture, |
|
|
bool | useAlphaThreshold, |
|
|
ShaderMacro[] | shaderMacros = null ) |
◆ PrepareForDrawingOverride()
| override void Engine.Graphics.SkyShader.PrepareForDrawingOverride |
( |
| ) |
|
|
virtual |
◆ PrepareShaderMacros()
| ShaderMacro[] Engine.Graphics.SkyShader.PrepareShaderMacros |
( |
bool | useVertexColor, |
|
|
bool | useTexture, |
|
|
bool | useAlphaThreshold, |
|
|
ShaderMacro[] | shaderMacros = null ) |
|
static |
◆ SetParameter()
| virtual void Engine.Graphics.SkyShader.SetParameter |
( |
| ) |
|
|
virtual |
◆ m_alphaThresholdParameter
◆ m_colorParameter
◆ m_samplerStateParameter
◆ m_textureParameter
◆ m_worldViewProjectionMatrixParameter
| ShaderParameter Engine.Graphics.SkyShader.m_worldViewProjectionMatrixParameter |
◆ AlphaThreshold
| float Engine.Graphics.SkyShader.AlphaThreshold |
|
set |
◆ Color
| Vector4 Engine.Graphics.SkyShader.Color |
|
set |
◆ SamplerState
| SamplerState Engine.Graphics.SkyShader.SamplerState |
|
set |
◆ Texture
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/SkyShader.cs