SpriteBatch Module
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
SpriteBatch.BeginSpriteBatchFrame (viewProjectionAbsolute, viewProjectionRelative, env)
Parameters:
inref<Matrix4x4>
viewProjectionRelative : inref<Matrix4x4>
env : SpriteBatchEnv
|
|
Full Usage:
SpriteBatch.CreateSpriteBatchEnv shaderFilePath
Parameters:
string
Returns: SpriteBatchEnv
|
|
Full Usage:
SpriteBatch.CreateSpriteBatchShader shaderFilePath
Parameters:
string
Returns: int * int * int * int * int * int * int * uint32
|
|
|
|
Full Usage:
SpriteBatch.EndSpriteBatchFrame env
Parameters:
Viewport
Returns: SpriteBatchEnv -> unit
|
|
Full Usage:
SpriteBatch.InterruptSpriteBatchFrame fn viewport env
Parameters:
unit -> unit
viewport : Viewport
env : SpriteBatchEnv
|
|
Full Usage:
SpriteBatch.SubmitSpriteBatchSprite (absolute, min, size, pivot, rotation, texCoords, clipOpt, color, bfs, bfd, beq, texture, viewport, env)
Parameters:
bool
min : Vector2
size : Vector2
pivot : Vector2
rotation : single
texCoords : inref<Box2>
clipOpt : inref<Box2 voption>
color : inref<Color>
bfs : BlendingFactor
bfd : BlendingFactor
beq : BlendEquationMode
texture : Texture
viewport : Viewport
env : SpriteBatchEnv
|
|