Constant Field Values

Contents

icyllis.arc3d.*

  • icyllis.arc3d.compiler.lex.DFA
    Modifier and Type
    Constant Field
    Value
    public static final int
    -1
  • icyllis.arc3d.compiler.lex.LexerGenerator
    Modifier and Type
    Constant Field
    Value
    public static final int
    4
    public static final String
    "INTLITERAL = ([1-9]\\d*|0[0-7]*|0[xX][\\da-fA-F]+)[uU]?\nFLOATLITERAL = (\\d*\\.\\d+([eE][+-]?\\d+)?|\\d+\\.\\d*([eE][+-]?\\d+)?|\\d+([eE][+-]?\\d+))[fF]?\nSTRINGLITERAL = \\\"[^\\\"\\\\\\r\\n]*\\\"\nTRUE = \"true\"\nFALSE = \"false\"\nBREAK = \"break\"\nCONTINUE = \"continue\"\nDO = \"do\"\nFOR = \"for\"\nWHILE = \"while\"\nIF = \"if\"\nELSE = \"else\"\nSWITCH = \"switch\"\nCASE = \"case\"\nDEFAULT = \"default\"\nDISCARD = \"discard\"\nRETURN = \"return\"\nIN = \"in\"\nOUT = \"out\"\nINOUT = \"inout\"\nCONST = \"const\"\nUNIFORM = \"uniform\"\nBUFFER = \"buffer\"\nWORKGROUP = \"workgroup\"\nSMOOTH = \"smooth\"\nFLAT = \"flat\"\nNOPERSPECTIVE = \"noperspective\"\nCOHERENT = \"coherent\"\nVOLATILE = \"volatile\"\nRESTRICT = \"restrict\"\nREADONLY = \"readonly\"\nWRITEONLY = \"writeonly\"\nSUBROUTINE = \"subroutine\"\nLAYOUT = \"layout\"\nSTRUCT = \"struct\"\nUSING = \"using\"\nINLINE = \"inline\"\nNOINLINE = \"noinline\"\nPURE = \"__pure\"\nRESERVED = shared|attribute|varying|atomic_uint|lowp|mediump|highp|precision|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|public|static|extern|external|interface|long|double|fixed|unsigned|superp|input|output|hvec[234]|dvec[234]|fvec[234]|filter|sizeof|cast|namespace|[iu]?(sampler|image|texture)2DRect|sampler2DRectShadow|sampler3DRect\nIDENTIFIER = [a-zA-Z_]\\w*\nHASH = \"#\"\nLPAREN = \"(\"\nRPAREN = \")\"\nLBRACE = \"{\"\nRBRACE = \"}\"\nLBRACKET = \"[\"\nRBRACKET = \"]\"\nDOT = \".\"\nCOMMA = \",\"\nEQ = \"=\"\nLT = \"<\"\nGT = \">\"\nBANG = \"!\"\nTILDE = \"~\"\nQUES = \"?\"\nCOLON = \":\"\nEQEQ = \"==\"\nLTEQ = \"<=\"\nGTEQ = \">=\"\nBANGEQ = \"!=\"\nPLUSPLUS = \"++\"\nMINUSMINUS = \"--\"\nPLUS = \"+\"\nMINUS = \"-\"\nSTAR = \"*\"\nSLASH = \"/\"\nPERCENT = \"%\"\nLTLT = \"<<\"\nGTGT = \">>\"\nAMPAMP = \"&&\"\nPIPEPIPE = \"||\"\nCARETCARET = \"^^\"\nAMP = \"&\"\nPIPE = \"|\"\nCARET = \"^\"\nPLUSEQ = \"+=\"\nMINUSEQ = \"-=\"\nSTAREQ = \"*=\"\nSLASHEQ = \"/=\"\nPERCENTEQ = \"%=\"\nLTLTEQ = \"<<=\"\nGTGTEQ = \">>=\"\nAMPEQ = \"&=\"\nPIPEEQ = \"|=\"\nCARETEQ = \"^=\"\nSEMICOLON = \";\"\nNEWLINE = [\\r\\n]+\nWHITESPACE = [\\t\\013\\014 ]+\nLINE_COMMENT = //.*\nBLOCK_COMMENT = /\\*(/|\\**[^/*])*\\*+/\nINVALID = ."
    public static final int
    2
    public static final int
    3
  • icyllis.arc3d.compiler.lex.NFAtoDFA
    Modifier and Type
    Constant Field
    Value
    public static final char
    '~'
    public static final char
    '\t'
  • icyllis.arc3d.compiler.lex.Token
    Modifier and Type
    Constant Field
    Value
    public static final long
    -1L
    public static final int
    74
    public static final int
    71
    public static final int
    84
    public static final int
    54
    public static final int
    61
    public static final int
    91
    public static final int
    6
    public static final int
    23
    public static final int
    76
    public static final int
    73
    public static final int
    86
    public static final int
    14
    public static final int
    28
    public static final int
    57
    public static final int
    50
    public static final int
    21
    public static final int
    7
    public static final int
    15
    public static final int
    16
    public static final int
    8
    public static final int
    49
    public static final int
    12
    public static final int
    0
    public static final int
    51
    public static final int
    58
    public static final int
    5
    public static final int
    26
    public static final int
    2
    public static final int
    9
    public static final int
    53
    public static final int
    60
    public static final int
    70
    public static final int
    83
    public static final int
    42
    public static final int
    41
    public static final int
    11
    public static final int
    18
    public static final int
    37
    public static final int
    20
    public static final int
    1
    public static final int
    92
    public static final int
    34
    public static final int
    45
    public static final int
    47
    public static final int
    90
    public static final int
    43
    public static final int
    52
    public static final int
    59
    public static final int
    69
    public static final int
    82
    public static final int
    65
    public static final int
    78
    public static final int
    63
    public static final int
    88
    public static final int
    38
    public static final int
    93
    public static final int
    27
    public static final int
    19
    public static final int
    68
    public static final int
    81
    public static final int
    75
    public static final int
    85
    public static final int
    72
    public static final int
    64
    public static final int
    77
    public static final int
    62
    public static final int
    39
    public static final int
    56
    public static final int
    46
    public static final int
    48
    public static final int
    31
    public static final int
    40
    public static final int
    30
    public static final int
    17
    public static final int
    44
    public static final int
    87
    public static final int
    67
    public static final int
    80
    public static final int
    25
    public static final int
    66
    public static final int
    79
    public static final int
    3
    public static final int
    35
    public static final int
    33
    public static final int
    13
    public static final int
    55
    public static final int
    4
    public static final int
    22
    public static final int
    36
    public static final int
    29
    public static final int
    10
    public static final int
    89
    public static final int
    24
    public static final int
    32
  • icyllis.arc3d.granite.ArcShape
    Modifier and Type
    Constant Field
    Value
    public static final int
    0
    public static final int
    1
    public static final int
    2
    public static final int
    4
    public static final int
    3
    public static final int
    5
  • icyllis.arc3d.granite.BlendFormula
    Modifier and Type
    Constant Field
    Value
    public static final byte
    0x1
    public static final byte
    0x2
    public static final byte
    0x4
    public static final byte
    0x5
    public static final byte
    0x3
    public static final byte
    0x0
  • icyllis.arc3d.granite.Clip_old
    Modifier and Type
    Constant Field
    Value
    public static final int
    0
    public static final int
    2
    public static final float
    0.0010000000474974513f
    public static final float
    0.05000000074505806f
    public static final int
    1
  • icyllis.arc3d.granite.ClipStack
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    2
    public static final int
    3
    public static final int
    0
    public static final int
    0
    public static final int
    1
    public static final int
    3
    public static final int
    2
    public static final int
    0
    public static final int
    1
  • icyllis.arc3d.granite.DrawAtlas
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    0
    public static final int
    2
  • icyllis.arc3d.granite.DrawAtlas.AtlasGenerationCounter
    Modifier and Type
    Constant Field
    Value
    public static final long
    0L
    public static final long
    281474976710655L
  • icyllis.arc3d.granite.DrawAtlas.AtlasToken
    Modifier and Type
    Constant Field
    Value
    public static final long
    0L
  • icyllis.arc3d.granite.DrawAtlas.PlotLocator
    Modifier and Type
    Constant Field
    Value
    public static final int
    4
    public static final int
    64
  • icyllis.arc3d.granite.DrawBufferManager
    Modifier and Type
    Constant Field
    Value
    public static final int
    8192
    public static final int
    32768
    public static final int
    131072
  • icyllis.arc3d.granite.DrawCommandList
    Modifier and Type
    Constant Field
    Value
    public static final int
    0
    public static final int
    5
    public static final int
    9
    public static final int
    8
    public static final int
    6
    public static final int
    1
    public static final int
    2
    public static final int
    4
    public static final int
    3
    public static final int
    7
  • icyllis.arc3d.granite.DrawOrder
    Modifier and Type
    Constant Field
    Value
    public static final int
    65535
    public static final int
    0
    public static final int
    0
    public static final int
    65535
    public static final int
    0
    public static final int
    0
    public static final int
    32
    public static final int
    16
  • icyllis.arc3d.granite.DrawPass
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final String
    "FragmentUniforms"
    public static final int
    0
    public static final String
    "GeometryUniforms"
    public static final int
    4097
    public static final int
    4096
  • icyllis.arc3d.granite.DrawPass.SortKey
    Modifier and Type
    Constant Field
    Value
    public static final int
    131071
    public static final int
    0
    public static final int
    131071
    public static final int
    17
    public static final int
    65535
    public static final int
    32
    public static final int
    65535
    public static final int
    34
    public static final int
    65535
    public static final int
    16
    public static final int
    3
    public static final int
    50
  • icyllis.arc3d.granite.FragmentHelpers
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    0
  • icyllis.arc3d.granite.FragmentStage
    Modifier and Type
    Constant Field
    Value
    public static final int
    4
    public static final int
    9
    public static final int
    10
    public static final int
    22
    public static final int
    4
    public static final int
    23
    public static final int
    21
    public static final int
    26
    public static final int
    18
    public static final int
    20
    public static final int
    0
    public static final int
    27
    public static final int
    19
    public static final int
    17
    public static final int
    5
    public static final int
    6
    public static final int
    1
    public static final int
    16
    public static final int
    0
    public static final int
    1
    public static final int
    24
    public static final int
    25
    public static final int
    16
    public static final int
    2
    public static final int
    7
    public static final int
    8
    public static final int
    3
    public static final int
    2
  • icyllis.arc3d.granite.GeometryRenderer
    Modifier and Type
    Constant Field
    Value
    public static final int
    4
  • icyllis.arc3d.granite.GeometryStep
    Modifier and Type
    Constant Field
    Value
    public static final int
    8
    public static final int
    64
    public static final int
    128
    public static final int
    4
    public static final int
    32
    public static final int
    2
  • icyllis.arc3d.granite.PipelineBuilder
    Modifier and Type
    Constant Field
    Value
    public static final String
    "f_LocalCoords"
    public static final int
    0
    public static final int
    0
    public static final String
    "FragColor0"
    public static final String
    "primitiveColor"
    public static final int
    1
    public static final String
    "FragColor1"
    public static final String
    "worldPos"
  • icyllis.arc3d.granite.ShaderCodeSource
    Modifier and Type
    Constant Field
    Value
    public static final String
    "vec4 arc_alpha_only(vec4 paintColor) {\n return vec4(0.0, 0.0, 0.0, paintColor.a);\n}\n"
    public static final String
    "vec4 arc_angular_grad_4_shader(vec2 coords,\n vec4 colors[4],\n vec4 offsets,\n float bias,\n float scale,\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _angular_grad_layout(coords, bias, scale);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_4(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_angular_grad_8_shader(vec2 coords,\n vec4 colors[8],\n vec4 offsets[2],\n float bias,\n float scale,\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _angular_grad_layout(coords, bias, scale);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_8(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_blend(vec4 src, vec4 dst, int blendMode) {\n const int kClear = 0;\n const int kSrc = 1;\n const int kDst = 2;\n const int kSrcOver = 3;\n const int kDstOver = 4;\n const int kSrcIn = 5;\n const int kDstIn = 6;\n const int kSrcOut = 7;\n const int kDstOut = 8;\n const int kSrcATop = 9;\n const int kDstATop = 10;\n const int kXor = 11;\n const int kPlus = 12;\n const int kPlusClamped = 13;\n const int kMinus = 14;\n const int kMinusClamped = 15;\n const int kModulate = 16;\n const int kMultiply = 17;\n const int kScreen = 18;\n const int kOverlay = 19;\n const int kDarken = 20;\n const int kLighten = 21;\n const int kColorDodge = 22;\n const int kColorBurn = 23;\n const int kHardLight = 24;\n const int kSoftLight = 25;\n const int kDifference = 26;\n const int kExclusion = 27;\n const int kSubtract = 28;\n const int kDivide = 29;\n const int kLinearDodge = 30;\n const int kLinearBurn = 31;\n const int kVividLight = 32;\n const int kLinearLight = 33;\n const int kPinLight = 34;\n const int kHardMix = 35;\n const int kDarkerColor = 36;\n const int LighterColor = 37;\n const int kHue = 38;\n const int kSaturation = 39;\n const int kColor = 40;\n const int kLuminosity = 41;\n\n switch (blendMode) {\n case kClear : return blend_clear (src,dst);\n case kSrc : return blend_src (src,dst);\n case kDst : return blend_dst (src,dst);\n case kSrcOver : return blend_src_over (src,dst);\n case kDstOver : return blend_dst_over (src,dst);\n case kSrcIn : return blend_src_in (src,dst);\n case kDstIn : return blend_dst_in (src,dst);\n case kSrcOut : return blend_src_out (src,dst);\n case kDstOut : return blend_dst_out (src,dst);\n case kSrcATop : return blend_src_atop (src,dst);\n case kDstATop : return blend_dst_atop (src,dst);\n case kXor : return blend_xor (src,dst);\n case kPlus : return blend_plus (src,dst);\n case kPlusClamped : return blend_plus_clamped (src,dst);\n case kMinus : return blend_minus (src,dst);\n case kMinusClamped : return blend_minus_clamped (src,dst);\n case kModulate : return blend_modulate (src,dst);\n case kMultiply : return blend_multiply (src,dst);\n case kScreen : return blend_screen (src,dst);\n case kOverlay : return blend_overlay (src,dst);\n case kDarken : return blend_darken (src,dst);\n case kLighten : return blend_lighten (src,dst);\n case kColorDodge : return blend_color_dodge (src,dst);\n case kColorBurn : return blend_color_burn (src,dst);\n case kHardLight : return blend_hard_light (src,dst);\n case kSoftLight : return blend_soft_light (src,dst);\n case kDifference : return blend_difference (src,dst);\n case kExclusion : return blend_exclusion (src,dst);\n case kSubtract : return blend_subtract (src,dst);\n case kDivide : return blend_divide (src,dst);\n case kLinearDodge : return blend_linear_dodge (src,dst);\n case kLinearBurn : return blend_linear_burn (src,dst);\n case kVividLight : return blend_vivid_light (src,dst);\n case kLinearLight : return blend_linear_light (src,dst);\n case kPinLight : return blend_pin_light (src,dst);\n case kHardMix : return blend_hard_mix (src,dst);\n case kDarkerColor : return blend_darker_color (src,dst);\n case LighterColor : return blend_lighter_color (src,dst);\n case kHue : return blend_hue (src,dst);\n case kSaturation : return blend_saturation (src,dst);\n case kColor : return blend_color (src,dst);\n case kLuminosity : return blend_luminosity (src,dst);\n default : return vec4(0);\n }\n}\n"
    public static final String
    "vec4 arc_color_space_transform(vec4 color,\n int flags,\n vec4 srcTf[2],\n mat3 gamutTransform,\n vec4 dstTf[2]) {\n const int kColorSpaceXformFlagUnpremul = 0x1;\n const int kColorSpaceXformFlagLinearize = 0x2;\n const int kColorSpaceXformFlagGamutTransform = 0x4;\n const int kColorSpaceXformFlagEncode = 0x8;\n const int kColorSpaceXformFlagPremul = 0x10;\n\n if (bool(flags & kColorSpaceXformFlagUnpremul)) {\n color.rgb /= max(color.a, 1e-7);\n }\n\n if (bool(flags & kColorSpaceXformFlagLinearize)) {\n color.r = _transfer_function(color.r, srcTf);\n color.g = _transfer_function(color.g, srcTf);\n color.b = _transfer_function(color.b, srcTf);\n }\n if (bool(flags & kColorSpaceXformFlagGamutTransform)) {\n color.rgb = gamutTransform * color.rgb;\n }\n if (bool(flags & kColorSpaceXformFlagEncode)) {\n color.r = _inv_transfer_function(color.r, dstTf);\n color.g = _inv_transfer_function(color.g, dstTf);\n color.b = _inv_transfer_function(color.b, dstTf);\n }\n\n if (bool(flags & kColorSpaceXformFlagPremul)) {\n color.rgb *= color.a;\n }\n return color;\n}\n"
    public static final String
    "vec4 arc_cubic_image_shader(vec2 coords,\n vec4 subset,\n mat4 cubicCoeffs,\n int cubicClamp,\n int tileModeX,\n int tileModeY,\n sampler2D s) {\n return _cubic_filter_image(coords, subset, tileModeX, tileModeY,\n cubicCoeffs, cubicClamp, s);\n}\n"
    public static final String
    "vec4 arc_dither_shader(vec4 color,\n float range) {\n // Unrolled 8x8 Bayer matrix\n vec2 A = gl_FragCoord.xy;\n vec2 B = floor(A);\n float U = fract(B.x * 0.5 + B.y * B.y * 0.75);\n vec2 C = A * 0.5;\n vec2 D = floor(C);\n float V = fract(D.x * 0.5 + D.y * D.y * 0.75);\n vec2 E = C * 0.5;\n vec2 F = floor(E);\n float W = fract(F.x * 0.5 + F.y * F.y * 0.75);\n float dithering = ((W * 0.25 + V) * 0.25 + U) - (63.0 / 128.0);\n // For each color channel, add the random offset to the channel value and then clamp\n // between 0 and alpha to keep the color premultiplied.\n return vec4(clamp(color.rgb + dithering * range, 0.0, color.a), color.a);\n}\n"
    public static final String
    "vec4 arc_error(vec2 coords) {\n return mix(vec4(1.0), vec4(0.0,1.0,0.0,1.0),\n bool((int(coords.x) >> 3 ^ int(coords.y) >> 3) & 1));\n}\n"
    public static final String
    "vec4 arc_hw_image_shader(vec2 coords,\n vec2 invImageSize,\n sampler2D s) {\n return texture(s, coords * invImageSize);\n}\n"
    public static final String
    "vec4 arc_image_shader(vec2 coords,\n vec2 invImageSize,\n vec4 subset,\n int filterMode,\n int tileModeX,\n int tileModeY,\n sampler2D s) {\n const float kLinearInset = 0.5 + 0.00001;\n return _sample_image_subset(coords, invImageSize, subset, tileModeX, tileModeY,\n filterMode, vec2(kLinearInset), s);\n}\n"
    public static final String
    "vec4 arc_linear_grad_4_shader(vec2 coords,\n vec4 colors[4],\n vec4 offsets,\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _linear_grad_layout(coords);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_4(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_linear_grad_8_shader(vec2 coords,\n vec4 colors[8],\n vec4 offsets[2],\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _linear_grad_layout(coords);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_8(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_passthrough(vec4 inColor) {\n return inColor;\n}\n"
    public static final String
    "vec4 arc_porter_duff_blend(vec4 src, vec4 dst, vec4 blendOp) {\n // The supported blend modes all have coefficients that are of the form (C + S*alpha), where\n // alpha is the other color\'s alpha channel. C can be 0 or 1, S can be -1, 0, or 1.\n vec2 coeff = blendOp.xy + blendOp.zw * vec2(dst.a, src.a);\n return src * coeff.x + dst * coeff.y;\n}\n"
    public static final String
    "vec4 arc_radial_grad_4_shader(vec2 coords,\n vec4 colors[4],\n vec4 offsets,\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _radial_grad_layout(coords);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_4(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_radial_grad_8_shader(vec2 coords,\n vec4 colors[8],\n vec4 offsets[2],\n int tileMode,\n int colorSpace,\n int doUnpremul) {\n vec2 t = _radial_grad_layout(coords);\n t = _tile_grad(tileMode, t);\n vec4 color = _colorize_grad_8(colors, offsets, t);\n return _interpolated_to_rgb_unpremul(color, colorSpace, doUnpremul);\n}\n"
    public static final String
    "vec4 arc_rgb_opaque(vec4 paintColor) {\n return vec4(paintColor.rgb, 1.0);\n}\n"
    public static final String
    "vec4 arc_solid_color(vec4 color) {\n return color;\n}\n"
    public static final String
    "vec4 blend_clear(vec4 src, vec4 dst) {\n return vec4(0);\n}\n"
    public static final String
    "vec4 blend_color(vec4 src, vec4 dst) {\n float alpha = src.a * dst.a;\n vec3 c = src.rgb * dst.a;\n c = _blend_set_lum(c, dst.rgb, src.a, alpha);\n return vec4(c + src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a),\n src.a + dst.a - alpha);\n}\n"
    public static final String
    "vec4 blend_color_burn(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(mix(mix(sa * max(vec3(0), da - (da - d) * sa / s) + s * (1 - da) + d * (1 - sa),\n d * (1 - sa),\n lessThanEqual(s, vec3(0))),\n sa * da + s * (1 - da) + d * (1 - sa),\n greaterThanEqual(d, da)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_color_dodge(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(mix(mix(sa * min(da, d * sa / (sa - s)) + s * (1 - da) + d * (1 - sa),\n sa * da + s * (1 - da) + d * (1 - sa),\n greaterThanEqual(s, sa)),\n s * (1 - da),\n lessThanEqual(d, vec3(0))),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_darken(vec4 src, vec4 dst) {\n return src + dst - max(src * dst.a, dst * src.a);\n}\n"
    public static final String
    "vec4 blend_darker_color(vec4 src, vec4 dst) {\n return mix(src * (1 - dst.a) + dst,\n src + dst * (1 - src.a),\n bvec4(_blend_get_lum(src.rgb) <= _blend_get_lum(dst.rgb)));\n}\n"
    public static final String
    "vec4 blend_difference(vec4 src, vec4 dst) {\n return vec4(src.rgb + dst.rgb - 2 * min(src.rgb * dst.a, dst.rgb * src.a),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_divide(vec4 src, vec4 dst) {\n vec3 numer = dst.rgb * src.a;\n vec3 denom = src.rgb * dst.a;\n vec3 c = src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a);\n return vec4(mix(clamp(numer / denom, 0, 1) * src.a * dst.a + c,\n mix(src.a * dst.a + c,\n c,\n equal(numer, vec3(0))),\n equal(denom, vec3(0))),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_dst(vec4 src, vec4 dst) {\n return dst;\n}\n"
    public static final String
    "vec4 blend_dst_atop(vec4 src, vec4 dst) {\n return src * (1 - dst.a) + dst * src.a;\n}\n"
    public static final String
    "vec4 blend_dst_in(vec4 src, vec4 dst) {\n return dst * src.a;\n}\n"
    public static final String
    "vec4 blend_dst_out(vec4 src, vec4 dst) {\n return dst * (1 - src.a);\n}\n"
    public static final String
    "vec4 blend_dst_over(vec4 src, vec4 dst) {\n return src * (1 - dst.a) + dst;\n}\n"
    public static final String
    "vec4 blend_exclusion(vec4 src, vec4 dst) {\n return vec4(src.rgb + dst.rgb - 2 * (src.rgb * dst.rgb),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_hard_light(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(s * (1 - da) + d * (1 - sa) +\n mix(sa * da - 2 * (sa - s) * (da - d),\n 2 * s * d,\n lessThanEqual(2 * s, sa)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_hard_mix(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n vec3 b = s * da + d * sa;\n vec3 c = sa * da;\n return vec4(s + d - b + mix(c, vec3(0), lessThan(b, c)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_hue(vec4 src, vec4 dst) {\n float alpha = src.a * dst.a;\n vec3 c = src.rgb * dst.a;\n c = _blend_set_lum_sat(c, dst.rgb, src.a, dst.rgb, src.a, alpha);\n return vec4(c + src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a),\n src.a + dst.a - alpha);\n}\n"
    public static final String
    "vec4 blend_lighten(vec4 src, vec4 dst) {\n return src + dst - min(src * dst.a, dst * src.a);\n}\n"
    public static final String
    "vec4 blend_lighter_color(vec4 src, vec4 dst) {\n return mix(src * (1 - dst.a) + dst,\n src + dst * (1 - src.a),\n bvec4(_blend_get_lum(src.rgb) >= _blend_get_lum(dst.rgb)));\n}\n"
    public static final String
    "vec4 blend_linear_burn(vec4 src, vec4 dst) {\n return vec4(max(src.rgb + dst.rgb - src.a * dst.a, src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a)),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_linear_dodge(vec4 src, vec4 dst) {\n return vec4(min(src.rgb + dst.rgb, src.a * dst.a + src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a)),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_linear_light(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(clamp(2 * s * da + d * sa - sa * da, vec3(0), sa * da) +\n s * (1 - da) + d * (1 - sa),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_luminosity(vec4 src, vec4 dst) {\n float alpha = src.a * dst.a;\n vec3 c = dst.rgb * src.a;\n c = _blend_set_lum(c, src.rgb, dst.a, alpha);\n return vec4(c + src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a),\n src.a + dst.a - alpha);\n}\n"
    public static final String
    "vec4 blend_minus(vec4 src, vec4 dst) {\n return dst - src;\n}\n"
    public static final String
    "vec4 blend_minus_clamped(vec4 src, vec4 dst) {\n return max(dst - src, 0);\n}\n"
    public static final String
    "vec4 blend_modulate(vec4 src, vec4 dst) {\n return src * dst;\n}\n"
    public static final String
    "vec4 blend_multiply(vec4 src, vec4 dst) {\n return src * dst + src * (1 - dst.a) + dst * (1 - src.a);\n}\n"
    public static final String
    "vec4 blend_overlay(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(s * (1 - da) + d * (1 - sa) +\n mix(sa * da - 2 * (sa - s) * (da - d),\n 2 * s * d,\n lessThanEqual(2 * d, da)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_pin_light(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n vec3 x = 2 * s * da;\n vec3 y = x - sa * da;\n vec3 z = d * sa;\n return vec4(s * (1 - da) + d * (1 - sa) +\n mix(min(x, z),\n mix(y,\n vec3(0),\n lessThan(2 * s, sa)),\n greaterThan(y, z)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_plus(vec4 src, vec4 dst) {\n return src + dst;\n}\n"
    public static final String
    "vec4 blend_plus_clamped(vec4 src, vec4 dst) {\n return min(src + dst, 1);\n}\n"
    public static final String
    "vec4 blend_saturation(vec4 src, vec4 dst) {\n float alpha = src.a * dst.a;\n vec3 c = dst.rgb * src.a;\n c = _blend_set_lum_sat(c, src.rgb, dst.a, dst.rgb, src.a, alpha);\n return vec4(c + src.rgb * (1 - dst.a) + dst.rgb * (1 - src.a),\n src.a + dst.a - alpha);\n}\n"
    public static final String
    "vec4 blend_screen(vec4 src, vec4 dst) {\n return src + dst - src * dst;\n}\n"
    public static final String
    "vec4 blend_soft_light(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n vec3 dd = d * d, dada = da * da;\n return vec4(mix(mix(d * (sa - 2 * s + 1) + s * (1 - da) - sqrt(d * da) * (sa - 2 * s),\n (dada * (s + d * (6 * s - 3 * sa + 1)) + 12 * da * dd * (sa - 2 * s) -\n 16 * dd * d * (sa - 2 * s) - dada * da * s) / dada,\n lessThanEqual(4 * d, da)),\n d * d * (sa - 2 * s) / da + s * (1 - da) + d * (2 * s + 1 - sa),\n lessThanEqual(2 * s, sa)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_src(vec4 src, vec4 dst) {\n return src;\n}\n"
    public static final String
    "vec4 blend_src_atop(vec4 src, vec4 dst) {\n return src * dst.a + dst * (1 - src.a);\n}\n"
    public static final String
    "vec4 blend_src_in(vec4 src, vec4 dst) {\n return src * dst.a;\n}\n"
    public static final String
    "vec4 blend_src_out(vec4 src, vec4 dst) {\n return src * (1 - dst.a);\n}\n"
    public static final String
    "vec4 blend_src_over(vec4 src, vec4 dst) {\n return src + dst * (1 - src.a);\n}\n"
    public static final String
    "vec4 blend_subtract(vec4 src, vec4 dst) {\n return vec4(src.rgb * (1 - dst.a) + dst.rgb - min(src.rgb * dst.a, dst.rgb * src.a),\n src.a + dst.a * (1 - src.a));\n}\n"
    public static final String
    "vec4 blend_vivid_light(vec4 src, vec4 dst) {\n vec3 s = src.rgb, d = dst.rgb;\n vec3 sa = vec3(src.a), da = vec3(dst.a);\n return vec4(mix(mix(sa * min(da, d * sa / (2 * (sa - s))) + s * (1 - da) + d * (1 - sa),\n sa * da + s * (1 - da) + d * (1 - sa),\n greaterThanEqual(s, sa)),\n mix(sa * max(vec3(0), da - (da - d) * sa / (2 * s)) + s * (1 - da) + d * (1 - sa),\n d * (1 - sa),\n lessThanEqual(s, vec3(0))),\n lessThan(2 * s, sa)),\n sa + da * (1 - sa));\n}\n"
    public static final String
    "vec4 blend_xor(vec4 src, vec4 dst) {\n return src * (1 - dst.a) + dst * (1 - src.a);\n}\n"
  • icyllis.arc3d.granite.SimpleShape
    Modifier and Type
    Constant Field
    Value
    public static final int
    6
    public static final int
    7
  • icyllis.arc3d.granite.StaticBufferManager
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    2
    public static final int
    0
  • icyllis.arc3d.granite.UniformDataGatherer
    Modifier and Type
    Constant Field
    Value
    public static final int
    0
    public static final int
    1

icyllis.modernui.*

  • icyllis.modernui.annotation.Dimension
    Modifier and Type
    Constant Field
    Value
    public static final int
    0
    public static final int
    1
    public static final int
    2
  • icyllis.modernui.audio.AudioManager
    Modifier and Type
    Constant Field
    Value
    public static final int
    20
  • icyllis.modernui.audio.FFT
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    4
    public static final int
    2
    public static final int
    3
    public static final int
    0
  • icyllis.modernui.transition.Fade
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    2
  • icyllis.modernui.transition.Transition
    Modifier and Type
    Constant Field
    Value
    public static final int
    3
    public static final int
    1
    public static final int
    4
    public static final int
    2
  • icyllis.modernui.transition.TransitionSet
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    0
  • icyllis.modernui.transition.Visibility
    Modifier and Type
    Constant Field
    Value
    public static final int
    1
    public static final int
    2