Loading...
Searching...
No Matches
score::gfx::GraphicsStorageImage Struct Reference

One storage image attached to a graphics pipeline. More...

Detailed Description

One storage image attached to a graphics pipeline.

Public Attributes

std::string name
 
std::string access
 "read_only" / "write_only" / "read_write"
 
std::string format
 e.g.
 
bool is3D {false}
 
bool cubemap {false}
 imageCube — 6-layer cubemap storage image
 
bool is_array {false}
 image2DArray — N-layer array texture
 
bool persistent {false}
 Ping-pong two textures swapped every frame.
 
int depth {0}
 Explicit Z dimension for 3D textures; 0 = use default (16)
 
int layers {0}
 Layer count for is_array (0 = use parser-supplied default)
 
QRhiTexture * texture {}
 Current (write / read_write) slot.
 
QRhiTexture * prev {}
 Previous frame (read-only); only set when persistent.
 
bool owned {true}
 
int binding {-1}
 
int prev_binding {-1}
 Binding of prev (only set when persistent)
 
QRhiShaderResourceBinding::StageFlags stages {}
 
int input_port_index {-1}
 
int output_port_index {-1}
 

Member Data Documentation

◆ format

std::string score::gfx::GraphicsStorageImage::format

e.g.

"rgba8", "r32f", "r32ui"


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