TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::sdlgpu::SDLGPUImage Class Referencefinal

An image (GraphicsContext::CreateImage): a texture sampled by the shaders. More...

#include <gui_core/graphics/sdlgpu/sdlgpu_device.h>

Inheritance diagram for tachyon::sdlgpu::SDLGPUImage:

Public Attributes

SDL_GPUTexture * texture = nullptr
Sampler sampler = Sampler::NearestRepeat
uint2 size {}
std::optional< ImageFormat > sourceFormat
 Made by CreateImage from pixels of this format: UpdateImageRows can write into it.

Detailed Description

An image (GraphicsContext::CreateImage): a texture sampled by the shaders.

Member Data Documentation

◆ texture

SDL_GPUTexture* tachyon::sdlgpu::SDLGPUImage::texture = nullptr

◆ sampler

Sampler tachyon::sdlgpu::SDLGPUImage::sampler = Sampler::NearestRepeat

◆ size

uint2 tachyon::sdlgpu::SDLGPUImage::size {}

◆ sourceFormat

std::optional<ImageFormat> tachyon::sdlgpu::SDLGPUImage::sourceFormat

Made by CreateImage from pixels of this format: UpdateImageRows can write into it.


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