Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Rendering::GpuBuffers::DiffuseFlatColorMaterial Struct Reference

GPU-side flat color material. More...

#include <RenderData.h>

Public Attributes

glm::vec3 color
 Linear RGB diffuse color.
float _padding
 Padding required by the shader layout.

Detailed Description

GPU-side flat color material.

Layout matches the GLSL material struct used by flat-color fragment shaders.

Definition at line 348 of file RenderData.h.

Member Data Documentation

◆ _padding

float Engine::Rendering::GpuBuffers::DiffuseFlatColorMaterial::_padding

Padding required by the shader layout.

Definition at line 351 of file RenderData.h.

◆ color

glm::vec3 Engine::Rendering::GpuBuffers::DiffuseFlatColorMaterial::color

Linear RGB diffuse color.

Definition at line 350 of file RenderData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Renderer/RenderData.h