![]() |
wisdom
|
C version:
C++ version:
Shader stages that can be used in the pipeline. Main use is Root signature and descriptor management. Stages have no granularity, either all or one can be selected.
D3D12_SHADER_VISIBILITY for DirectX 12 implementation, and VkShaderStageFlags for Vulkan implementation.Values:
WisShaderVisibilityAll = 0: All shader stages.WisShaderVisibilityVertex = 1: Vertex shader stage.WisShaderVisibilityHull = 2: Hull/Tessellation control shader stage.WisShaderVisibilityDomain = 3: Domain/Tessellation evaluation shader stage.WisShaderVisibilityGeometry = 4: Geometry shader stage.WisShaderVisibilityPixel = 5: Pixel/Fragment shader stage.WisShaderVisibilityAmplification = 6: Amplification shader stage.WisShaderVisibilityMesh = 7: Mesh shader stage.WisShaderVisibilityCount = 8: Number of stages.