SurfaceAttributes#

Fully qualified name: cupva::mem::SurfaceAttributes

Defined in src/host/shared/include/install/cupva_host_common.hpp

struct SurfaceAttributes#

Surface attributes.

This struct is used to query surface attributes given a device pointer.

Public Members

SurfaceFormatType format#

Surface format for all planes

int32_t numPlanes#

Number of valid PlaneInfo structs in the array

std::array<PlaneInfo, SURFACE_ATTRIBUTES_MAX_NUM_PLANES> planes#

An array containing PlaneInfo for each plane