public class ShaderTechnique extends Object
Constructor and Description |
---|
ShaderTechnique()
Initializes a new instance of the
ShaderTechnique class. |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(String property,
String shaderParameter)
Binds the dynamic property to shader parameter
|
String |
getDescription()
Gets the description of this technique
|
RenderingAPI |
getRenderAPI()
Gets the rendering API used by this technique
|
String |
getRenderAPIVersion()
Gets the version of the rendering API.
|
byte[] |
getShaderContent()
Gets the content of a embedded shader script.
|
String |
getShaderEntry()
Gets the entry point of the shader, some shader like HLSL can have customized shader entries.
|
String |
getShaderFile()
Gets the file name of the external shader file.
|
ShadingLanguage |
getShaderLanguage()
Gets the shader language used by this technique.
|
Map<String,String> |
getShaderParameters()
Gets the shader parameter definition.
|
String |
getShaderVersion()
Gets the shader version used by this technique.
|
void |
setDescription(String value)
Sets the description of this technique
|
void |
setRenderAPI(RenderingAPI value)
Sets the rendering API used by this technique
|
void |
setRenderAPIVersion(String value)
Sets the version of the rendering API.
|
void |
setShaderContent(byte[] value)
Sets the content of a embedded shader script.
|
void |
setShaderEntry(String value)
Sets the entry point of the shader, some shader like HLSL can have customized shader entries.
|
void |
setShaderFile(String value)
Sets the file name of the external shader file.
|
void |
setShaderLanguage(ShadingLanguage value)
Sets the shader language used by this technique.
|
void |
setShaderVersion(String value)
Sets the shader version used by this technique.
|
public ShaderTechnique()
ShaderTechnique
class.public String getDescription()
public void setDescription(String value)
value
- New valuepublic ShadingLanguage getShaderLanguage()
public void setShaderLanguage(ShadingLanguage value)
value
- New valuepublic String getShaderVersion()
public void setShaderVersion(String value)
value
- New valuepublic String getShaderFile()
public void setShaderFile(String value)
value
- New valuepublic byte[] getShaderContent()
public void setShaderContent(byte[] value)
value
- New valuepublic String getShaderEntry()
public void setShaderEntry(String value)
value
- New valuepublic RenderingAPI getRenderAPI()
public void setRenderAPI(RenderingAPI value)
value
- New valuepublic String getRenderAPIVersion()
public void setRenderAPIVersion(String value)
value
- New valuepublic Map<String,String> getShaderParameters()
Copyright © 2018. All rights reserved.