
**Inheritance:**
java.lang.Object, [com.aspose.threed.ShaderSource](../../com.aspose.threed/shadersource)
```
public final class SPIRVSource extends ShaderSource
```

The compiled shader in SPIR-V format.
## Constructors

| Constructor | Description |
| --- | --- |
| [SPIRVSource()](#SPIRVSource--) | Constructor of SPIR-V based shader sources. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getComputeShader()](#getComputeShader--) | Gets the source code of the compute shader. |
| [getFragmentShader()](#getFragmentShader--) | Gets the source code of the fragment shader. |
| [getGeometryShader()](#getGeometryShader--) | Gets the source code of the geometry shader. |
| [getMaximumDescriptorSets()](#getMaximumDescriptorSets--) | Maximum descriptor sets, default value is 10 |
| [getVertexShader()](#getVertexShader--) | Gets the source code of the vertex shader |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setComputeShader(byte[] value)](#setComputeShader-byte---) | Sets the source code of the compute shader. |
| [setFragmentShader(byte[] value)](#setFragmentShader-byte---) | Sets the source code of the fragment shader. |
| [setGeometryShader(byte[] value)](#setGeometryShader-byte---) | Sets the source code of the geometry shader. |
| [setMaximumDescriptorSets(int value)](#setMaximumDescriptorSets-int-) | Maximum descriptor sets, default value is 10 |
| [setVertexShader(byte[] value)](#setVertexShader-byte---) | Sets the source code of the vertex shader |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### SPIRVSource() {#SPIRVSource--}
```
public SPIRVSource()
```


Constructor of SPIR-V based shader sources.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getComputeShader() {#getComputeShader--}
```
public byte[] getComputeShader()
```


Gets the source code of the compute shader.

**Returns:**
byte[] - the source code of the compute shader.
### getFragmentShader() {#getFragmentShader--}
```
public byte[] getFragmentShader()
```


Gets the source code of the fragment shader.

**Returns:**
byte[] - the source code of the fragment shader.
### getGeometryShader() {#getGeometryShader--}
```
public byte[] getGeometryShader()
```


Gets the source code of the geometry shader.

**Returns:**
byte[] - the source code of the geometry shader.
### getMaximumDescriptorSets() {#getMaximumDescriptorSets--}
```
public int getMaximumDescriptorSets()
```


Maximum descriptor sets, default value is 10

**Returns:**
int - Maximum descriptor sets, default value is 10
### getVertexShader() {#getVertexShader--}
```
public byte[] getVertexShader()
```


Gets the source code of the vertex shader

**Returns:**
byte[] - the source code of the vertex shader
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setComputeShader(byte[] value) {#setComputeShader-byte---}
```
public void setComputeShader(byte[] value)
```


Sets the source code of the compute shader.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | New value |

### setFragmentShader(byte[] value) {#setFragmentShader-byte---}
```
public void setFragmentShader(byte[] value)
```


Sets the source code of the fragment shader.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | New value |

### setGeometryShader(byte[] value) {#setGeometryShader-byte---}
```
public void setGeometryShader(byte[] value)
```


Sets the source code of the geometry shader.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | New value |

### setMaximumDescriptorSets(int value) {#setMaximumDescriptorSets-int-}
```
public void setMaximumDescriptorSets(int value)
```


Maximum descriptor sets, default value is 10

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | New value |

### setVertexShader(byte[] value) {#setVertexShader-byte---}
```
public void setVertexShader(byte[] value)
```


Sets the source code of the vertex shader

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | New value |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

