## GLSLSource class

  The source code of shaders in GLSL


## Methods

### constructor{#constructor}

| Name | Description |
| --- | --- |
| constructor() |  | 

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



---


### defineInclude{#defineInclude}

| Name | Description |
| --- | --- |
| defineInclude(fileName, content) | Define virtual file for #include in GLSL source code | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| fileName | String | File name of the virtual file |
|  conten | String | null |

 **Result:**



---



