Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::GBuffer::ElementDesc Struct Reference

G-buffer element description. More...

#include <GBuffer.hpp>

Public Attributes

TEXTURE_FORMAT Format = TEX_FORMAT_UNKNOWN
 Texture format. Must not be Diligent::TEX_FORMAT_UNKNOWN.
 
BIND_FLAGS BindFlags = BIND_NONE
 Texture bind flags. If Diligent::BIND_NONE is specified, the following rules are used:
 
OptimizedClearValue ClearValue = {}
 Clear value.
 

Detailed Description

G-buffer element description.

Member Data Documentation

◆ BindFlags

BIND_FLAGS Diligent::GBuffer::ElementDesc::BindFlags = BIND_NONE

Texture bind flags. If Diligent::BIND_NONE is specified, the following rules are used:

◆ ClearValue

OptimizedClearValue Diligent::GBuffer::ElementDesc::ClearValue = {}

Clear value.

This value is used to clear the textures by the GBuffer::Clear() method.