Package icyllis.arc3d.granite.shading
Class GraphicsPipelineBuilder
java.lang.Object
icyllis.arc3d.granite.shading.GraphicsPipelineBuilder
-
Field Summary
Modifier and TypeFieldDescriptionfinal PipelineKey_old
final GraphicsPipelineDesc_Old
int
Built-in uniform handles. -
Constructor Summary
ConstructorDescriptionGraphicsPipelineBuilder
(PipelineKey_old desc, GraphicsPipelineDesc_Old graphicsPipelineDesc, Caps caps) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addExtension
(int shaderFlags, String extensionName) protected final boolean
final Caps
getCaps()
final String
nameVariable
(char prefix, String name) final String
nameVariable
(char prefix, String name, boolean mangle) Generates a name for a variable.final ShaderCaps
abstract UniformHandler
abstract VaryingHandler
-
Field Details
-
mVS
-
mFS
-
mDesc
-
mGraphicsPipelineDesc
-
mProjectionUniform
public int mProjectionUniformBuilt-in uniform handles. -
mGPImpl
-
-
Constructor Details
-
GraphicsPipelineBuilder
public GraphicsPipelineBuilder(PipelineKey_old desc, GraphicsPipelineDesc_Old graphicsPipelineDesc, Caps caps)
-
-
Method Details
-
getCaps
-
shaderCaps
-
nameVariable
-
nameVariable
Generates a name for a variable. The generated string will be name-prefixed by the prefix char (unless the prefix is '\0'). It also will mangle the name to be stage-specific unless explicitly asked not to. `nameVariable` can also be used to generate names for functions or other types of symbols where unique names are important. -
uniformHandler
-
varyingHandler
-
addExtension
-
emitAndInstallProcs
protected final boolean emitAndInstallProcs()
-