TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::metal::MetalGraphicsContext::Impl::ImageUpload Struct Reference

A whole image's pixels, or with partial a band of rows from firstRow written into an image already up (UpdateImageRows): its other rows are kept. More...

#include <gui_core/graphics/metal/metal_device.h>

Public Attributes

MetalImage * image = nullptr
id< MTLBuffer > staging = nil
NSUInteger rowPitch = 0
uint32_t firstRow = 0
uint32_t rowCount = 0

Detailed Description

A whole image's pixels, or with partial a band of rows from firstRow written into an image already up (UpdateImageRows): its other rows are kept.

Member Data Documentation

◆ image

MetalImage* tachyon::metal::MetalGraphicsContext::Impl::ImageUpload::image = nullptr

◆ staging

id<MTLBuffer> tachyon::metal::MetalGraphicsContext::Impl::ImageUpload::staging = nil

◆ rowPitch

NSUInteger tachyon::metal::MetalGraphicsContext::Impl::ImageUpload::rowPitch = 0

◆ firstRow

uint32_t tachyon::metal::MetalGraphicsContext::Impl::ImageUpload::firstRow = 0

◆ rowCount

uint32_t tachyon::metal::MetalGraphicsContext::Impl::ImageUpload::rowCount = 0

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