|
TachyonUI 1.1.0
High-performance UI for building tools.
|
An image (GraphicsContext::CreateImage): a texture sampled by the shaders. More...
#include <gui_core/graphics/metal/metal_device.h>
Public Attributes | |
| id< MTLTexture > | texture = nil |
| bool | external = false |
| MTLPixelFormat | format = MTLPixelFormatInvalid |
| Sampler | sampler = Sampler::NearestRepeat |
| uint2 | size {} |
| std::optional< ImageFormat > | sourceFormat |
| Made by CreateImage from pixels of this format: UpdateImageRows can write into it. | |
An image (GraphicsContext::CreateImage): a texture sampled by the shaders.
A host's (RegisterExternalImage) is its texture; external says so.
| id<MTLTexture> tachyon::metal::MetalImage::texture = nil |
| bool tachyon::metal::MetalImage::external = false |
| MTLPixelFormat tachyon::metal::MetalImage::format = MTLPixelFormatInvalid |
| Sampler tachyon::metal::MetalImage::sampler = Sampler::NearestRepeat |
| uint2 tachyon::metal::MetalImage::size {} |
| std::optional<ImageFormat> tachyon::metal::MetalImage::sourceFormat |
Made by CreateImage from pixels of this format: UpdateImageRows can write into it.