Header menu logo Mibo

SpriteState Type

State required to render a 2D sprite via DrawTexturePro.

Record fields

Record Field Description

Color

Full Usage: Color

Field type: Color
Field type: Color

Dest

Full Usage: Dest

Field type: Rectangle
Field type: Rectangle

Layer

Full Usage: Layer

Field type: int<MeasureProduct<RenderLayer, MeasureOne>>

NormalMap

Full Usage: NormalMap

Field type: Texture2D voption
Optional normal map texture for per-pixel lighting. When present,
 the lit shader samples this to compute diffuse lighting per pixel.
Field type: Texture2D voption

Origin

Full Usage: Origin

Field type: Vector2
Field type: Vector2

Rotation

Full Usage: Rotation

Field type: float32
Field type: float32

Source

Full Usage: Source

Field type: Rectangle
Field type: Rectangle

Texture

Full Usage: Texture

Field type: Texture2D
Field type: Texture2D

Type something to start searching.