Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Merge requests
!70
Resolve "Voxel cone tracing"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Voxel cone tracing"
82-voxel-cone-tracing
into
develop
Overview
7
Commits
95
Pipelines
67
Changes
4
Merged
Ghost User
requested to merge
82-voxel-cone-tracing
into
develop
3 years ago
Overview
7
Commits
95
Pipelines
67
Changes
4
Expand
Closes
#82 (closed)
Edited
3 years ago
by
Tobias Frisch
0
0
Merge request reports
Viewing commit
f04fcfcd
Prev
Next
Show latest version
4 files
+
17
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
f04fcfcd
[
#82
] Add alpha to coverage to anti-alias alpha tested geometry
· f04fcfcd
Alexander Gauggel
authored
3 years ago
include/vkcv/PipelineConfig.hpp
+
18
−
9
Options
@@ -10,21 +10,30 @@
#include
"Handles.hpp"
#include
"ShaderProgram.hpp"
#include
"VertexLayout.hpp"
#include
"ImageConfig.hpp"
namespace
vkcv
{
enum
class
PrimitiveTopology
{
PointList
,
LineList
,
TriangleList
};
enum
class
CullMode
{
None
,
Front
,
Back
};
enum
class
DepthTest
{
None
,
Less
,
LessEqual
,
Greater
,
GreatherEqual
,
Equal
};
struct
PipelineConfig
{
ShaderProgram
m_ShaderProgram
;
uint32_t
m_Width
;
uint32_t
m_Height
;
PassHandle
m_PassHandle
;
VertexLayout
m_VertexLayout
;
std
::
vector
<
vk
::
DescriptorSetLayout
>
m_DescriptorLayouts
;
bool
m_UseDynamicViewport
;
bool
m_UseConservativeRasterization
=
false
;
PrimitiveTopology
m_PrimitiveTopology
=
PrimitiveTopology
::
TriangleList
;
ShaderProgram
m_ShaderProgram
;
uint32_t
m_Width
;
uint32_t
m_Height
;
PassHandle
m_PassHandle
;
VertexLayout
m_VertexLayout
;
std
::
vector
<
vk
::
DescriptorSetLayout
>
m_DescriptorLayouts
;
bool
m_UseDynamicViewport
;
bool
m_UseConservativeRasterization
=
false
;
PrimitiveTopology
m_PrimitiveTopology
=
PrimitiveTopology
::
TriangleList
;
bool
m_EnableDepthClamping
=
false
;
Multisampling
m_multisampling
=
Multisampling
::
None
;
CullMode
m_culling
=
CullMode
::
None
;
DepthTest
m_depthTest
=
DepthTest
::
LessEqual
;
bool
m_depthWrite
=
true
;
bool
m_alphaToCoverage
=
false
;
};
}
\ No newline at end of file
Loading