Unravel Engine C++ Reference
Loading...
Searching...
No Matches
gfx::fbo_attachment Struct Reference

#include <frame_buffer.h>

Public Attributes

std::shared_ptr< gfx::texturetexture
 Texture handle.
 
std::uint16_t mip = 0
 Mip level.
 
std::uint16_t layer = 0
 Cubemap side or depth layer/slice.
 
bool generate_mips {true}
 

Detailed Description

Definition at line 10 of file frame_buffer.h.

Member Data Documentation

◆ generate_mips

bool gfx::fbo_attachment::generate_mips {true}

Definition at line 19 of file frame_buffer.h.

◆ layer

std::uint16_t gfx::fbo_attachment::layer = 0

Cubemap side or depth layer/slice.

Definition at line 17 of file frame_buffer.h.

◆ mip

std::uint16_t gfx::fbo_attachment::mip = 0

Mip level.

Definition at line 15 of file frame_buffer.h.

◆ texture

std::shared_ptr<gfx::texture> gfx::fbo_attachment::texture

Texture handle.

Definition at line 13 of file frame_buffer.h.


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