libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::graphics::Shader2DOptions Struct Reference

Configuration options for a Shader2D. More...

#include <donut/graphics/Shader2D.hpp>

Public Attributes

ShaderConfiguration configuration
 Shader configuration options, see ShaderConfiguration. More...
 

Detailed Description

Configuration options for a Shader2D.

Member Data Documentation

◆ configuration

ShaderConfiguration donut::graphics::Shader2DOptions::configuration
Initial value:
{
.depthBufferMode = DepthBufferMode::IGNORE,
.faceCullingMode = FaceCullingMode::IGNORE,
}
@ IGNORE
Ignore the depth buffer.
@ USE_ALPHA_BLENDING
Blend the old and new pixel colors depending on the alpha value of the new pixel according to the sta...

Shader configuration options, see ShaderConfiguration.


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