TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_image.h File Reference
#include <gui_core/gui_base_types.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  tachyon::UVRect
 The part of an image to draw, in UV: 0,0 is its top-left corner and 1,1 its bottom-right. More...
struct  tachyon::ImageDisplay
 How an image is shown, in this order: More...
class  tachyon::Image
 An image made by GraphicsContext::CreateImage; the backend defines its contents. More...
class  tachyon::ImageSet
 The images the shaders can sample, each at an ImageIndex. Implemented by the backend. More...

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::ImageChannel : uint8_t {
  tachyon::ImageChannel::Red , tachyon::ImageChannel::Green , tachyon::ImageChannel::Blue , tachyon::ImageChannel::Alpha ,
  tachyon::ImageChannel::Zero , tachyon::ImageChannel::One
}
 A channel of an image's pixel, or a constant, for ImageDisplay. More...
enum class  tachyon::ImageFormat {
  tachyon::ImageFormat::UNDEFINED , tachyon::ImageFormat::R8 , tachyon::ImageFormat::R8_SRGB , tachyon::ImageFormat::R8G8 ,
  tachyon::ImageFormat::R8G8_SRGB , tachyon::ImageFormat::R8G8B8 , tachyon::ImageFormat::R8G8B8_SRGB , tachyon::ImageFormat::R8G8B8A8 ,
  tachyon::ImageFormat::R8G8B8A8_SRGB
}
 Pixel formats for GraphicsContext::CreateImage, 8 bits per channel. More...
enum class  tachyon::Sampler { tachyon::Sampler::UNDEFINED , tachyon::Sampler::NearestRepeat , tachyon::Sampler::LinearRepeat , tachyon::Sampler::LinearClampToEdge }
 How an image is filtered and addressed when sampled. More...
enum  tachyon::ImageIndex : uint32_t { tachyon::Invalid = 0 }
 Index of an image in the graphics context's image set, as the shaders sample it. More...