GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::ClearValues Struct Reference

Specification of values that a texture should be cleared to. More...

#include <GREM/graphics/Texture.hpp>

Public Attributes

TextureAspects aspects = TextureAspects::ALL
 Which texture aspects to clear.
Color color = Color::INVISIBLE
 Color value to clear the color aspect to.
float depth = 1.0f
 Depth value to clear the depth aspect to.
uint8_t stencil = 0
 Stencil value to clear the stencil aspect to.

Detailed Description

Specification of values that a texture should be cleared to.

Member Data Documentation

◆ aspects

TextureAspects grem::graphics::ClearValues::aspects = TextureAspects::ALL

Which texture aspects to clear.

◆ color

Color grem::graphics::ClearValues::color = Color::INVISIBLE

Color value to clear the color aspect to.

◆ depth

float grem::graphics::ClearValues::depth = 1.0f

Depth value to clear the depth aspect to.

◆ stencil

uint8_t grem::graphics::ClearValues::stencil = 0

Stencil value to clear the stencil aspect to.


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