8#ifndef GrMtlUniformHandler_DEFINED
9#define GrMtlUniformHandler_DEFINED
47 return fUniforms.
count();
51 return fUniforms.
item(idx);
54 return fUniforms.
item(idx);
62 , fCurrentUBOOffset(0)
63 , fCurrentUBOMaxAlignment(0x0) {
72 const char** outName)
override;
80 int numSamplers()
const {
return fSamplers.
count(); }
81 const char* samplerVariable(SamplerHandle handle)
const override {
84 skgpu::Swizzle samplerSwizzle(SamplerHandle handle)
const override {
85 return fSamplerSwizzles[handle.toIndex()];
87 uint32_t samplerVisibility(SamplerHandle handle)
const {
94 return fUniforms.
item(u.toIndex());
101 uint32_t fCurrentUBOOffset;
102 uint32_t fCurrentUBOMaxAlignment;
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library name