RetroArch
Public Types | Public Member Functions | Public Attributes | List of all members
spirv_cross::CompilerMSL::MemberSorter Struct Reference

#include <spirv_msl.hpp>

Collaboration diagram for spirv_cross::CompilerMSL::MemberSorter:
[legend]

Public Types

enum  SortAspect {
  Location, LocationReverse, Offset, OffsetThenLocationReverse,
  Alphabetical
}
 

Public Member Functions

void sort ()
 
bool operator() (uint32_t mbr_idx1, uint32_t mbr_idx2)
 
 MemberSorter (SPIRType &t, Meta &m, SortAspect sa)
 

Public Attributes

SPIRTypetype
 
Metameta
 
SortAspect sort_aspect
 

Member Enumeration Documentation

◆ SortAspect

Enumerator
Location 
LocationReverse 
Offset 
OffsetThenLocationReverse 
Alphabetical 

Constructor & Destructor Documentation

◆ MemberSorter()

spirv_cross::CompilerMSL::MemberSorter::MemberSorter ( SPIRType t,
Meta m,
SortAspect  sa 
)

Member Function Documentation

◆ operator()()

bool spirv_cross::CompilerMSL::MemberSorter::operator() ( uint32_t  mbr_idx1,
uint32_t  mbr_idx2 
)

◆ sort()

void spirv_cross::CompilerMSL::MemberSorter::sort ( )
Here is the caller graph for this function:

Member Data Documentation

◆ meta

Meta& spirv_cross::CompilerMSL::MemberSorter::meta

◆ sort_aspect

SortAspect spirv_cross::CompilerMSL::MemberSorter::sort_aspect

◆ type

SPIRType& spirv_cross::CompilerMSL::MemberSorter::type

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