#include <SkSLUtil.h>
Definition at line 166 of file SkSLUtil.h.
◆ Default()
static const ShaderCaps * SkSL::ShaderCapsFactory::Default |
( |
| ) |
|
|
inlinestatic |
Definition at line 168 of file SkSLUtil.h.
168 {
171 caps->fVersionDeclString = "#version 400";
172 caps->fShaderDerivativeSupport = true;
173 return caps.release();
174 }();
175 return sCaps;
176 }
static std::unique_ptr< ShaderCaps > MakeShaderCaps()
◆ MakeShaderCaps()
std::unique_ptr< ShaderCaps > SkSL::ShaderCapsFactory::MakeShaderCaps |
( |
| ) |
|
|
staticprotected |
Definition at line 25 of file SkSLUtil.cpp.
25 {
26 std::unique_ptr<ShaderCaps> standalone = std::make_unique<ShaderCaps>();
27 standalone->fShaderDerivativeSupport = true;
28 standalone->fExplicitTextureLodSupport = true;
29 standalone->fFlatInterpolationSupport = true;
30 standalone->fNoPerspectiveInterpolationSupport = true;
31 standalone->fSampleMaskSupport = true;
32 standalone->fExternalTextureSupport = true;
33 standalone->fFloatBufferArrayName = "floatData";
34 return standalone;
35}
◆ Standalone()
static const ShaderCaps * SkSL::ShaderCapsFactory::Standalone |
( |
| ) |
|
|
inlinestatic |
Definition at line 178 of file SkSLUtil.h.
178 {
180 return sCaps;
181 }
The documentation for this class was generated from the following files: