GLSLSource
Inheritance: java.lang.Object, com.aspose.threed.ShaderSource
public final class GLSLSource extends ShaderSource
The source code of shaders in GLSL
Constructors
Constructor | Description |
---|---|
GLSLSource() |
Methods
Method | Description |
---|---|
defineInclude(String fileName, String content) | Define virtual file for #include in GLSL source code |
equals(Object arg0) | |
getClass() | |
getComputeShader() | Gets the source code of the compute shader. |
getFragmentShader() | Gets the source code of the fragment shader. |
getGeometryShader() | Gets the source code of the geometry shader. |
getVertexShader() | Gets the source code of the vertex shader |
hashCode() | |
notify() | |
notifyAll() | |
setComputeShader(String value) | Sets the source code of the compute shader. |
setFragmentShader(String value) | Sets the source code of the fragment shader. |
setGeometryShader(String value) | Sets the source code of the geometry shader. |
setVertexShader(String value) | Sets the source code of the vertex shader |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
GLSLSource()
public GLSLSource()
defineInclude(String fileName, String content)
public void defineInclude(String fileName, String content)
Define virtual file for #include in GLSL source code
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | File name of the virtual file |
content | java.lang.String |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getComputeShader()
public String getComputeShader()
Gets the source code of the compute shader.
Returns: java.lang.String
getFragmentShader()
public String getFragmentShader()
Gets the source code of the fragment shader.
Returns: java.lang.String
getGeometryShader()
public String getGeometryShader()
Gets the source code of the geometry shader.
Returns: java.lang.String
getVertexShader()
public String getVertexShader()
Gets the source code of the vertex shader
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setComputeShader(String value)
public void setComputeShader(String value)
Sets the source code of the compute shader.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setFragmentShader(String value)
public void setFragmentShader(String value)
Sets the source code of the fragment shader.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setGeometryShader(String value)
public void setGeometryShader(String value)
Sets the source code of the geometry shader.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setVertexShader(String value)
public void setVertexShader(String value)
Sets the source code of the vertex shader
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |