VOX
A little voxel engine
Loading...
Searching...
No Matches
ImGuiTexture Struct Reference

#include <RenderAPI.hpp>

Collaboration diagram for ImGuiTexture:
Collaboration graph

Public Member Functions

uint32_t width () const
 
uint32_t height () const
 
void clear ()
 
void putPixel (uint32_t x, uint32_t y, uint8_t r, uint8_t g, uint8_t b, uint8_t a=255)
 

Public Attributes

VkImage image
 
VkDeviceMemory memory
 
VkImageView view
 
VkSampler sampler
 
void * mapped_memory
 
VkDescriptorSet descriptor_set
 
VkFormat format
 
VkExtent2D extent
 

Member Function Documentation

◆ clear()

void ImGuiTexture::clear ( )
inline

◆ height()

uint32_t ImGuiTexture::height ( ) const
inline

◆ putPixel()

void ImGuiTexture::putPixel ( uint32_t  x,
uint32_t  y,
uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  a = 255 
)
inline

◆ width()

uint32_t ImGuiTexture::width ( ) const
inline

Member Data Documentation

◆ descriptor_set

VkDescriptorSet ImGuiTexture::descriptor_set

◆ extent

VkExtent2D ImGuiTexture::extent

◆ format

VkFormat ImGuiTexture::format

◆ image

VkImage ImGuiTexture::image

◆ mapped_memory

void* ImGuiTexture::mapped_memory

◆ memory

VkDeviceMemory ImGuiTexture::memory

◆ sampler

VkSampler ImGuiTexture::sampler

◆ view

VkImageView ImGuiTexture::view

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