## SPIRVSource class

  The compiled shader in SPIR-V format.


## Methods

### constructor{#constructor}

| Name | Description |
| --- | --- |
| constructor() | Constructor of SPIR-V based shader sources. | 

 **Result:**



---


### getMaximumDescriptorSets{#getMaximumDescriptorSets}

| Name | Description |
| --- | --- |
| getMaximumDescriptorSets() | Maximum descriptor sets, default value is 10 | 

 **Result:**



---


### setMaximumDescriptorSets{#setMaximumDescriptorSets}

| Name | Description |
| --- | --- |
| setMaximumDescriptorSets(value) | Maximum descriptor sets, default value is 10 | 

 **Result:**



---


### getComputeShader{#getComputeShader}

| Name | Description |
| --- | --- |
| getComputeShader() | Gets or sets the source code of the compute shader. | 

 **Result:**



---


### setComputeShader{#setComputeShader}

| Name | Description |
| --- | --- |
| setComputeShader(value) | Gets or sets the source code of the compute shader. | 

 **Result:**



---


### getGeometryShader{#getGeometryShader}

| Name | Description |
| --- | --- |
| getGeometryShader() | Gets or sets the source code of the geometry shader. | 

 **Result:**



---


### setGeometryShader{#setGeometryShader}

| Name | Description |
| --- | --- |
| setGeometryShader(value) | Gets or sets the source code of the geometry shader. | 

 **Result:**



---


### getVertexShader{#getVertexShader}

| Name | Description |
| --- | --- |
| getVertexShader() | Gets or sets the source code of the vertex shader | 

 **Result:**



---


### setVertexShader{#setVertexShader}

| Name | Description |
| --- | --- |
| setVertexShader(value) | Gets or sets the source code of the vertex shader | 

 **Result:**



---


### getFragmentShader{#getFragmentShader}

| Name | Description |
| --- | --- |
| getFragmentShader() | Gets or sets the source code of the fragment shader. | 

 **Result:**



---


### setFragmentShader{#setFragmentShader}

| Name | Description |
| --- | --- |
| setFragmentShader(value) | Gets or sets the source code of the fragment shader. | 

 **Result:**



---



