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

NameTypeAccessDescription
MaximumDescriptorSetsintRead/WriteMaximum descriptor sets, default value is 10
ComputeShaderbyte[]Read/WriteGets or sets the source code of the compute shader.
GeometryShaderbyte[]Read/WriteGets or sets the source code of the geometry shader.
VertexShaderbyte[]Read/WriteGets or sets the source code of the vertex shader
FragmentShaderbyte[]Read/WriteGets or sets the source code of the fragment shader.

Methods

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

See Also

 English