Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::GpuRenderPipelineDesc Struct Reference

#include <gpu_pass.hpp>

Public Attributes

GpuShaderModule module
std::string vertex_entry = "vs_main"
std::optional< GpuShaderModule > fragment_module
 Defaults to module when unset.
std::string fragment_entry = "fs_main"
std::vector< GpuVertexBufferLayout > vertex_buffers
std::vector< GpuColorTargetDesc > color_targets {GpuColorTargetDesc{}}
std::optional< GpuDepthStateDesc > depth
GpuPrimitiveTopology topology = GpuPrimitiveTopology::triangle_list
GpuCullMode cull = GpuCullMode::none
std::uint32_t sample_count = 1
std::string label

Member Data Documentation

◆ color_targets

std::vector<GpuColorTargetDesc> pulp::render::GpuRenderPipelineDesc::color_targets {GpuColorTargetDesc{}}

◆ cull

GpuCullMode pulp::render::GpuRenderPipelineDesc::cull = GpuCullMode::none

◆ depth

std::optional<GpuDepthStateDesc> pulp::render::GpuRenderPipelineDesc::depth

◆ fragment_entry

std::string pulp::render::GpuRenderPipelineDesc::fragment_entry = "fs_main"

◆ fragment_module

std::optional<GpuShaderModule> pulp::render::GpuRenderPipelineDesc::fragment_module

Defaults to module when unset.

◆ label

std::string pulp::render::GpuRenderPipelineDesc::label

◆ module

GpuShaderModule pulp::render::GpuRenderPipelineDesc::module

◆ sample_count

std::uint32_t pulp::render::GpuRenderPipelineDesc::sample_count = 1

◆ topology

GpuPrimitiveTopology pulp::render::GpuRenderPipelineDesc::topology = GpuPrimitiveTopology::triangle_list

◆ vertex_buffers

std::vector<GpuVertexBufferLayout> pulp::render::GpuRenderPipelineDesc::vertex_buffers

◆ vertex_entry

std::string pulp::render::GpuRenderPipelineDesc::vertex_entry = "vs_main"

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/render/include/pulp/render/gpu_pass.hpp