Struct MSLConstexprSampler
Defined in File spirv_msl.hpp
Struct Documentation
-
struct MSLConstexprSampler
Public Functions
-
inline MSLConstexprSampler()
-
inline bool swizzle_is_identity() const
-
inline bool swizzle_has_one_or_zero() const
Public Members
-
MSLSamplerFilter min_filter = MSL_SAMPLER_FILTER_NEAREST
-
MSLSamplerFilter mag_filter = MSL_SAMPLER_FILTER_NEAREST
-
MSLSamplerMipFilter mip_filter = MSL_SAMPLER_MIP_FILTER_NONE
-
MSLSamplerAddress s_address = MSL_SAMPLER_ADDRESS_CLAMP_TO_EDGE
-
MSLSamplerAddress t_address = MSL_SAMPLER_ADDRESS_CLAMP_TO_EDGE
-
MSLSamplerAddress r_address = MSL_SAMPLER_ADDRESS_CLAMP_TO_EDGE
-
MSLSamplerCompareFunc compare_func = MSL_SAMPLER_COMPARE_FUNC_NEVER
-
MSLSamplerBorderColor border_color = MSL_SAMPLER_BORDER_COLOR_TRANSPARENT_BLACK
-
float lod_clamp_min = 0.0f
-
float lod_clamp_max = 1000.0f
-
int max_anisotropy = 1
-
uint32_t planes = 0
-
MSLFormatResolution resolution = MSL_FORMAT_RESOLUTION_444
-
MSLSamplerFilter chroma_filter = MSL_SAMPLER_FILTER_NEAREST
-
MSLChromaLocation x_chroma_offset = MSL_CHROMA_LOCATION_COSITED_EVEN
-
MSLChromaLocation y_chroma_offset = MSL_CHROMA_LOCATION_COSITED_EVEN
-
MSLComponentSwizzle swizzle[4]
-
MSLSamplerYCbCrRange ycbcr_range = MSL_SAMPLER_YCBCR_RANGE_ITU_FULL
-
uint32_t bpc = 8
-
bool compare_enable = false
-
bool lod_clamp_enable = false
-
bool anisotropy_enable = false
-
bool ycbcr_conversion_enable = false
-
inline MSLConstexprSampler()