GLSLSource

Inheritance: java.lang.Object, com.aspose.threed.ShaderSource

public final class GLSLSource extends ShaderSource

The source code of shaders in GLSL

Constructors

ConstructorDescription
GLSLSource()

Methods

MethodDescription
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:

ParameterTypeDescription
fileNamejava.lang.StringFile name of the virtual file
contentjava.lang.String

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuejava.lang.StringNew value

setFragmentShader(String value)

public void setFragmentShader(String value)

Sets the source code of the fragment shader.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setGeometryShader(String value)

public void setGeometryShader(String value)

Sets the source code of the geometry shader.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setVertexShader(String value)

public void setVertexShader(String value)

Sets the source code of the vertex shader

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int