Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::PipelineSpecification Struct Reference

Configuration parameters to describe a rendering pipeline. More...

#include <Pipeline.h>

Public Attributes

Ref< ShaderShader
 Shader program to bind.
Ref< FramebufferTargetFramebuffer
 Target framebuffer for rendering.
PrimitiveTopology Topology = PrimitiveTopology::Triangles
 Primitive assembly topology.
DepthCompareOperator DepthOperator = DepthCompareOperator::GreaterOrEqual
 Depth test operator.
VertexBufferLayout Layout
 Input vertex buffer layout.
bool BackfaceCulling = true
 Enable backface culling.
bool DepthTest = true
 Enable depth testing.
bool DepthWrite = true
 Enable depth writes.
bool Wireframe = false
 Enable wireframe rasterization.
float LineWidth = 1.0f
 Width of lines when rendering line primitives.
std::string DebugName
 Optional debug name for the pipeline.

Detailed Description

Configuration parameters to describe a rendering pipeline.

Specifies shader programs, framebuffer target, input layout, and rasterization/depth states.

Member Data Documentation

◆ BackfaceCulling

bool Raven::PipelineSpecification::BackfaceCulling = true

Enable backface culling.

◆ DebugName

std::string Raven::PipelineSpecification::DebugName

Optional debug name for the pipeline.

◆ DepthOperator

DepthCompareOperator Raven::PipelineSpecification::DepthOperator = DepthCompareOperator::GreaterOrEqual

Depth test operator.

◆ DepthTest

bool Raven::PipelineSpecification::DepthTest = true

Enable depth testing.

◆ DepthWrite

bool Raven::PipelineSpecification::DepthWrite = true

Enable depth writes.

◆ Layout

VertexBufferLayout Raven::PipelineSpecification::Layout

Input vertex buffer layout.

◆ LineWidth

float Raven::PipelineSpecification::LineWidth = 1.0f

Width of lines when rendering line primitives.

◆ Shader

Ref<Shader> Raven::PipelineSpecification::Shader

Shader program to bind.

◆ TargetFramebuffer

Ref<Framebuffer> Raven::PipelineSpecification::TargetFramebuffer

Target framebuffer for rendering.

◆ Topology

PrimitiveTopology Raven::PipelineSpecification::Topology = PrimitiveTopology::Triangles

Primitive assembly topology.

◆ Wireframe

bool Raven::PipelineSpecification::Wireframe = false

Enable wireframe rasterization.


The documentation for this struct was generated from the following file: