Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::RmlUi_LayerFramebuffer Struct Reference

#include <RmlUi_RenderLayerStack.h>

Public Member Functions

auto is_valid () const -> bool
 
auto get_size () const -> usize32_t
 
auto get_color_texture () const -> gfx::texture::ptr
 
auto get_depth_texture () const -> gfx::texture::ptr
 

Public Attributes

uint64_t layer_id = 0
 
gfx::frame_buffer::ptr framebuffer
 
int samples = 1
 
bool needs_rebind = true
 
gfx::view_id pass_id = 0
 

Detailed Description

Definition at line 19 of file RmlUi_RenderLayerStack.h.

Member Function Documentation

◆ get_color_texture()

auto unravel::RmlUi_LayerFramebuffer::get_color_texture ( ) const -> gfx::texture::ptr
inline

Definition at line 34 of file RmlUi_RenderLayerStack.h.

◆ get_depth_texture()

auto unravel::RmlUi_LayerFramebuffer::get_depth_texture ( ) const -> gfx::texture::ptr
inline

Definition at line 39 of file RmlUi_RenderLayerStack.h.

◆ get_size()

auto unravel::RmlUi_LayerFramebuffer::get_size ( ) const -> usize32_t
inline

Definition at line 29 of file RmlUi_RenderLayerStack.h.

◆ is_valid()

auto unravel::RmlUi_LayerFramebuffer::is_valid ( ) const -> bool
inline

Definition at line 27 of file RmlUi_RenderLayerStack.h.

Member Data Documentation

◆ framebuffer

gfx::frame_buffer::ptr unravel::RmlUi_LayerFramebuffer::framebuffer

Definition at line 22 of file RmlUi_RenderLayerStack.h.

◆ layer_id

uint64_t unravel::RmlUi_LayerFramebuffer::layer_id = 0

Definition at line 21 of file RmlUi_RenderLayerStack.h.

◆ needs_rebind

bool unravel::RmlUi_LayerFramebuffer::needs_rebind = true

Definition at line 24 of file RmlUi_RenderLayerStack.h.

◆ pass_id

gfx::view_id unravel::RmlUi_LayerFramebuffer::pass_id = 0

Definition at line 25 of file RmlUi_RenderLayerStack.h.

◆ samples

int unravel::RmlUi_LayerFramebuffer::samples = 1

Definition at line 23 of file RmlUi_RenderLayerStack.h.


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