mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Update comments
This commit is contained in:
parent
2fb5108bbe
commit
71aec36ef3
@ -24,11 +24,9 @@ const (
|
||||
// PreservedUniformVariablesNum represents the number of preserved uniform variables.
|
||||
// Any shaders in Ebiten must have these uniform variables.
|
||||
//
|
||||
// The first one is for the viewport size.
|
||||
// The second and the followings are for offsets of the second and the following images.
|
||||
//
|
||||
// All the preversed uniform variables are vec2 so far.
|
||||
PreservedUniformVariablesNum = 1 + (ShaderImageNum - 1)
|
||||
PreservedUniformVariablesNum = 1 + // the destination texture size
|
||||
(ShaderImageNum - 1) // the offsets of the second and the following images
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user