Package 

Class SkinningBuffer.Builder

    • Constructor Detail

      • SkinningBuffer.Builder

        SkinningBuffer.Builder()
    • Method Detail

      • boneCount

        @NonNull() SkinningBuffer.Builder boneCount(@IntRange(from = 1) int boneCount)

        Size of the skinning buffer in bones.

        Due to limitation in the GLSL, the SkinningBuffer must always by a multiple of256, this adjustment is done automatically, but can causesome memory overhead. This memory overhead can be mitigated by using the same SkinningBuffer to store the bone information for multiple RenderPrimitives.

        Parameters:
        boneCount - Number of bones the skinning buffer can hold.
      • initialize

        @NonNull() SkinningBuffer.Builder initialize(boolean initialize)

        The new buffer is created with identity bones

        Parameters:
        initialize - true to initializing the buffer, false to not.