Header menu logo Mibo

RenderCmd2D Type

A 2D render command.

Union cases

Union case Description

AddDirectionalLight directionalLightVal

Full Usage: AddDirectionalLight directionalLightVal

Parameters:
directionalLightVal : DirectionalLight2D

AddLighting ambient

Full Usage: AddLighting ambient

Parameters:
ambient : AmbientLight2D

AddOccluder occluderVal

Full Usage: AddOccluder occluderVal

Parameters:
occluderVal : Occluder2D

AddPointLight pointLightVal

Full Usage: AddPointLight pointLightVal

Parameters:
pointLightVal : PointLight2D

ClearTarget(clearColor, clearDepth)

Full Usage: ClearTarget(clearColor, clearDepth)

Parameters:
    clearColor : Color voption
    clearDepth : bool

clearColor : Color voption
clearDepth : bool

DrawCircle2D circleCmd

Full Usage: DrawCircle2D circleCmd

Parameters:
circleCmd : DrawCircle2DCmd

DrawCustom draw

Full Usage: DrawCustom draw

Parameters:
draw : GameContext -> unit

DrawLine2D lineCmd

Full Usage: DrawLine2D lineCmd

Parameters:
lineCmd : DrawLine2DCmd

DrawParticles particlesCmd

Full Usage: DrawParticles particlesCmd

Parameters:
particlesCmd : DrawParticlesCmd

DrawRect2D rectCmd

Full Usage: DrawRect2D rectCmd

Parameters:
rectCmd : DrawRect2DCmd

DrawSprite sprite

Full Usage: DrawSprite sprite

Parameters:
sprite : SpriteState

DrawText text

Full Usage: DrawText text

Parameters:
text : TextState

SetBlendState blendState

Full Usage: SetBlendState blendState

Parameters:
blendState : BlendState

SetCamera camera

Full Usage: SetCamera camera

Parameters:
camera : Camera

SetDepthStencilState depthStencilState

Full Usage: SetDepthStencilState depthStencilState

Parameters:
depthStencilState : DepthStencilState

SetEffect effect

Full Usage: SetEffect effect

Parameters:
effect : Effect voption

SetLighting lightingState

Full Usage: SetLighting lightingState

Parameters:
lightingState : LightingState2D

SetRasterizerState rasterizerState

Full Usage: SetRasterizerState rasterizerState

Parameters:
rasterizerState : RasterizerState

SetSamplerState samplerState

Full Usage: SetSamplerState samplerState

Parameters:
samplerState : SamplerState

SetViewport viewport

Full Usage: SetViewport viewport

Parameters:
viewport : Viewport

Instance members

Instance member Description

this.IsAddDirectionalLight

Full Usage: this.IsAddDirectionalLight

Returns: bool
Returns: bool

this.IsAddLighting

Full Usage: this.IsAddLighting

Returns: bool
Returns: bool

this.IsAddOccluder

Full Usage: this.IsAddOccluder

Returns: bool
Returns: bool

this.IsAddPointLight

Full Usage: this.IsAddPointLight

Returns: bool
Returns: bool

this.IsClearTarget

Full Usage: this.IsClearTarget

Returns: bool
Returns: bool

this.IsDrawCircle2D

Full Usage: this.IsDrawCircle2D

Returns: bool
Returns: bool

this.IsDrawCustom

Full Usage: this.IsDrawCustom

Returns: bool
Returns: bool

this.IsDrawLine2D

Full Usage: this.IsDrawLine2D

Returns: bool
Returns: bool

this.IsDrawParticles

Full Usage: this.IsDrawParticles

Returns: bool
Returns: bool

this.IsDrawRect2D

Full Usage: this.IsDrawRect2D

Returns: bool
Returns: bool

this.IsDrawSprite

Full Usage: this.IsDrawSprite

Returns: bool
Returns: bool

this.IsDrawText

Full Usage: this.IsDrawText

Returns: bool
Returns: bool

this.IsSetBlendState

Full Usage: this.IsSetBlendState

Returns: bool
Returns: bool

this.IsSetCamera

Full Usage: this.IsSetCamera

Returns: bool
Returns: bool

this.IsSetDepthStencilState

Full Usage: this.IsSetDepthStencilState

Returns: bool
Returns: bool

this.IsSetEffect

Full Usage: this.IsSetEffect

Returns: bool
Returns: bool

this.IsSetLighting

Full Usage: this.IsSetLighting

Returns: bool
Returns: bool

this.IsSetRasterizerState

Full Usage: this.IsSetRasterizerState

Returns: bool
Returns: bool

this.IsSetSamplerState

Full Usage: this.IsSetSamplerState

Returns: bool
Returns: bool

this.IsSetViewport

Full Usage: this.IsSetViewport

Returns: bool
Returns: bool

Type something to start searching.