Documentation ¶
Index ¶
Constants ¶
View Source
const ( ShaderImageNum = 4 // PreservedUniformVariablesNum represents the number of preserved uniform variables. // Any shaders in Ebiten must have these uniform variables. // // All the preversed uniform variables are vec2 so far. PreservedUniformVariablesNum = 1 + ShaderImageNum + (ShaderImageNum - 1) // the offsets of the second and the following images )
View Source
const ( IndicesNum = (1 << 16) / 3 * 3 // Adjust num for triangles. VertexFloatNum = 8 )
Variables ¶
This section is empty.
Functions ¶
func InternalImageSize ¶ added in v1.9.0
InternalImageSize returns a nearest appropriate size as an internal image.
func QuadIndices ¶ added in v1.9.0
func QuadIndices() []uint16
func QuadVertices ¶ added in v1.9.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.