KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::GAL_MODERN::BITMAP_QUAD Struct Reference

#include <gal_modern.h>

Public Attributes

RHI_VERTEX vertices [6]
 
float alpha = 1.0f
 
RHI_TextureHandle texture
 
RHI_BufferHandle vertexBuffer
 
bool ownsResources = true
 false for group copies, which own nothing
 
bool ownsTexture = true
 false when the shared cache owns the texture
 
std::array< uint64_t, 2 > contentHash {}
 

Detailed Description

Definition at line 266 of file gal_modern.h.

Member Data Documentation

◆ alpha

float KIGFX::GAL_MODERN::BITMAP_QUAD::alpha = 1.0f

◆ contentHash

std::array<uint64_t, 2> KIGFX::GAL_MODERN::BITMAP_QUAD::contentHash {}

◆ ownsResources

bool KIGFX::GAL_MODERN::BITMAP_QUAD::ownsResources = true

false for group copies, which own nothing

Definition at line 272 of file gal_modern.h.

◆ ownsTexture

bool KIGFX::GAL_MODERN::BITMAP_QUAD::ownsTexture = true

false when the shared cache owns the texture

Definition at line 273 of file gal_modern.h.

Referenced by KIGFX::GAL_MODERN::countBitmapRefs(), and KIGFX::GAL_MODERN::DrawBitmap().

◆ texture

RHI_TextureHandle KIGFX::GAL_MODERN::BITMAP_QUAD::texture

◆ vertexBuffer

RHI_BufferHandle KIGFX::GAL_MODERN::BITMAP_QUAD::vertexBuffer

Definition at line 271 of file gal_modern.h.

Referenced by KIGFX::GAL_MODERN::DrawBitmap().

◆ vertices

RHI_VERTEX KIGFX::GAL_MODERN::BITMAP_QUAD::vertices[6]

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