SPIRVSource

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

public final class SPIRVSource extends ShaderSource

The compiled shader in SPIR-V format.

Constructors

ConstructorDescription
SPIRVSource()Constructor of SPIR-V based shader sources.

Methods

MethodDescription
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.
getMaximumDescriptorSets()Maximum descriptor sets, default value is 10
getVertexShader()Gets the source code of the vertex shader
hashCode()
notify()
notifyAll()
setComputeShader(byte[] value)Sets the source code of the compute shader.
setFragmentShader(byte[] value)Sets the source code of the fragment shader.
setGeometryShader(byte[] value)Sets the source code of the geometry shader.
setMaximumDescriptorSets(int value)Maximum descriptor sets, default value is 10
setVertexShader(byte[] value)Sets the source code of the vertex shader
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

SPIRVSource()

public SPIRVSource()

Constructor of SPIR-V based shader sources.

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 byte[] getComputeShader()

Gets the source code of the compute shader.

Returns: byte[]

getFragmentShader()

public byte[] getFragmentShader()

Gets the source code of the fragment shader.

Returns: byte[]

getGeometryShader()

public byte[] getGeometryShader()

Gets the source code of the geometry shader.

Returns: byte[]

getMaximumDescriptorSets()

public int getMaximumDescriptorSets()

Maximum descriptor sets, default value is 10

Returns: int

getVertexShader()

public byte[] getVertexShader()

Gets the source code of the vertex shader

Returns: byte[]

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setComputeShader(byte[] value)

public void setComputeShader(byte[] value)

Sets the source code of the compute shader.

Parameters:

ParameterTypeDescription
valuebyte[]New value

setFragmentShader(byte[] value)

public void setFragmentShader(byte[] value)

Sets the source code of the fragment shader.

Parameters:

ParameterTypeDescription
valuebyte[]New value

setGeometryShader(byte[] value)

public void setGeometryShader(byte[] value)

Sets the source code of the geometry shader.

Parameters:

ParameterTypeDescription
valuebyte[]New value

setMaximumDescriptorSets(int value)

public void setMaximumDescriptorSets(int value)

Maximum descriptor sets, default value is 10

Parameters:

ParameterTypeDescription
valueintNew value

setVertexShader(byte[] value)

public void setVertexShader(byte[] value)

Sets the source code of the vertex shader

Parameters:

ParameterTypeDescription
valuebyte[]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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int