ludus::graphics::rhi::ShaderDescription¶
Ludus Wiki · API overview · Browse API
Struct
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
#include <ludus/graphics/rhi/render.h>
struct ludus::graphics::rhi::ShaderDescription final
Fields¶
Stage¶
ShaderStage ludus::graphics::rhi::ShaderDescription::Stage = ShaderStage::Vertex
Related types: ShaderStage
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
UniformSize¶
ludus::foundation::usize ludus::graphics::rhi::ShaderDescription::UniformSize = 0
Related types: ludus::foundation::usize
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
Spirv¶
std::span<const ludus::foundation::uint32> ludus::graphics::rhi::ShaderDescription::Spirv
Related types: ludus::foundation::uint32
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
Wgsl¶
std::string_view ludus::graphics::rhi::ShaderDescription::Wgsl
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
GlslEs¶
std::string_view ludus::graphics::rhi::ShaderDescription::GlslEs = ""
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
SpirvEntry¶
std::string_view ludus::graphics::rhi::ShaderDescription::SpirvEntry
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
WgslEntry¶
std::string_view ludus::graphics::rhi::ShaderDescription::WgslEntry
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
GlslEsEntry¶
std::string_view ludus::graphics::rhi::ShaderDescription::GlslEsEntry = ""
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
Msl¶
std::string_view ludus::graphics::rhi::ShaderDescription::Msl = ""
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
MslEntry¶
std::string_view ludus::graphics::rhi::ShaderDescription::MslEntry = ""
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
Dxil¶
std::span<const ludus::foundation::uint8> ludus::graphics::rhi::ShaderDescription::Dxil = {}
Note
ludus_compile_shader emits DXIL only when CMake targets a Windows host. Related types: ludus::foundation::uint8
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
DxilEntry¶
std::string_view ludus::graphics::rhi::ShaderDescription::DxilEntry = ""
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h
HasNativeRayStages¶
bool ludus::graphics::rhi::ShaderDescription::HasNativeRayStages = false
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/render.h