![]() |
Raven Engine v0.1
|
Configuration parameters to describe a rendering pipeline. More...
#include <Pipeline.h>
Public Attributes | |
| Ref< Shader > | Shader |
| Shader program to bind. | |
| Ref< Framebuffer > | TargetFramebuffer |
| 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. | |
Configuration parameters to describe a rendering pipeline.
Specifies shader programs, framebuffer target, input layout, and rasterization/depth states.
| bool Raven::PipelineSpecification::BackfaceCulling = true |
Enable backface culling.
| std::string Raven::PipelineSpecification::DebugName |
Optional debug name for the pipeline.
| DepthCompareOperator Raven::PipelineSpecification::DepthOperator = DepthCompareOperator::GreaterOrEqual |
Depth test operator.
| bool Raven::PipelineSpecification::DepthTest = true |
Enable depth testing.
| bool Raven::PipelineSpecification::DepthWrite = true |
Enable depth writes.
| VertexBufferLayout Raven::PipelineSpecification::Layout |
Input vertex buffer layout.
| float Raven::PipelineSpecification::LineWidth = 1.0f |
Width of lines when rendering line primitives.
| Ref<Framebuffer> Raven::PipelineSpecification::TargetFramebuffer |
Target framebuffer for rendering.
| PrimitiveTopology Raven::PipelineSpecification::Topology = PrimitiveTopology::Triangles |
Primitive assembly topology.
| bool Raven::PipelineSpecification::Wireframe = false |
Enable wireframe rasterization.