SPIRVSource
Overview
SPIRVSource is a class in Aspose.3D FOSS for .NET.
Inherits from: ShaderSource.
The compiled shader in SPIR-V format.
This class provides 1 method for working with SPIRVSource objects in .NET programs.
Available methods include: SPIRVSource.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: ComputeShader, FragmentShader, GeometryShader, MaximumDescriptorSets, VertexShader.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
MaximumDescriptorSets | int | Read/Write | Maximum descriptor sets, default value is 10 |
ComputeShader | byte[] | Read/Write | Gets or sets the source code of the compute shader. |
GeometryShader | byte[] | Read/Write | Gets or sets the source code of the geometry shader. |
VertexShader | byte[] | Read/Write | Gets or sets the source code of the vertex shader |
FragmentShader | byte[] | Read/Write | Gets or sets the source code of the fragment shader. |
Methods
| Signature | Description |
|---|---|
SPIRVSource() | Constructor of SPIR-V based shader sources. |