Package icyllis.arc3d.granite.geom
Class DefaultGeoProc
java.lang.Object
icyllis.arc3d.granite.GeometryStep
icyllis.arc3d.granite.geom.DefaultGeoProc
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.granite.GeometryStep
GeometryStep.ProgramImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VertexInputLayout.Attributestatic final intstatic final intstatic final VertexInputLayout.Attributestatic final VertexInputLayout.Attributestatic final VertexInputLayout.AttributeSetFields inherited from class icyllis.arc3d.granite.GeometryStep
DEPTH, FLAG_EMIT_COVERAGE, FLAG_EMIT_PRIMITIVE_COLOR, FLAG_HANDLE_SOLID_COLOR, FLAG_HAS_TEXTURES, FLAG_OUTSET_BOUNDS_FOR_AA, FLAG_PERFORM_SHADING, MODEL_VIEW, SOLID_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAppends a key on the KeyBuilder that reflects any variety in the code that the geometry processor subclass can emit.makeProgramImpl(ShaderCaps caps) Returns a new instance of the appropriate implementation class for the given GeometryProcessor.Methods inherited from class icyllis.arc3d.granite.GeometryStep
appendAttributesToKey, depthStencilFlags, depthStencilSettings, emitFragmentColorCode, emitFragmentCoverageCode, emitSamplers, emitsCoverage, emitsPrimitiveColor, emitUniforms, emitVaryings, emitVertexGeomCode, getInputLayout, handlesSolidColor, hasInstanceAttributes, hasVertexAttributes, instanceAttributes, instanceBinding, instanceStride, makeColorAttribute, name, numInstanceAttributes, numInstanceLocations, numTextureSamplers, numVertexAttributes, numVertexLocations, performsShading, primitiveType, textureSamplerState, textureSamplerSwizzle, uniqueID, vertexAttributes, vertexBinding, vertexStride, writeMesh, writeUniformsAndTextures
-
Field Details
-
FLAG_COLOR_ATTRIBUTE
public static final int FLAG_COLOR_ATTRIBUTE- See Also:
-
FLAG_TEX_COORD_ATTRIBUTE
public static final int FLAG_TEX_COORD_ATTRIBUTE- See Also:
-
POSITION
-
COLOR
-
TEX_COORD
-
VERTEX_ATTRIBS
-
-
Constructor Details
-
DefaultGeoProc
public DefaultGeoProc(int flags)
-
-
Method Details
-
appendToKey
Description copied from class:GeometryStepAppends a key on the KeyBuilder that reflects any variety in the code that the geometry processor subclass can emit.- Specified by:
appendToKeyin classGeometryStep- See Also:
-
makeProgramImpl
Description copied from class:GeometryStepReturns a new instance of the appropriate implementation class for the given GeometryProcessor. This method is called only when the specified key does not exist in the program cache.- Specified by:
makeProgramImplin classGeometryStep- See Also:
-