Documentation ¶
Index ¶
Constants ¶
View Source
const ( IndicesNum = (1 << 16) / 3 * 3 // Adjust num for triangles. VertexFloatNum = 12 )
Variables ¶
This section is empty.
Functions ¶
func InternalImageSize ¶ added in v1.9.0
InternalImageSize returns a nearest appropriate size as an internal image.
func PutQuadVertices ¶
func PutQuadVertices(dst []float32, putter VertexPutter, sx0, sy0, sx1, sy1 int, a, b, c, d, tx, ty float32, cr, cg, cb, ca float32)
func QuadIndices ¶ added in v1.9.0
func QuadIndices() []uint16
Types ¶
Click to show internal directories.
Click to hide internal directories.