Skip to content

Instantly share code, notes, and snippets.

@ultraviolet-jordan
Created April 7, 2023 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultraviolet-jordan/adbd10f1eab30a2f6ed3803e96408230 to your computer and use it in GitHub Desktop.
Save ultraviolet-jordan/adbd10f1eab30a2f6ed3803e96408230 to your computer and use it in GitHub Desktop.
abstract class RenderBlockBuilder<out R : RenderType>(
val index: Int,
val mask: Int
) {
abstract fun build(buffer: RSByteBuffer, render: @UnsafeVariance R)
abstract fun size(render: @UnsafeVariance R): Int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment