C# Class SFML.Graphics.RenderStates

Define the states used for drawing to a RenderTarget
Exibir arquivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
BlendMode BlendMode
Shader Shader
Texture Texture
Transform Transform

Public Methods

Method Description
RenderStates ( BlendMode blendMode ) : System

Construct a default set of render states with a custom blend mode

RenderStates ( BlendMode blendMode, Transform transform, Texture texture, Shader shader ) : System

Construct a set of render states with all its attributes

RenderStates ( RenderStates copy ) : System

Copy constructor

RenderStates ( Shader shader ) : System

Construct a default set of render states with a custom shader

RenderStates ( Texture texture ) : System

Construct a default set of render states with a custom texture

RenderStates ( Transform transform ) : System

Construct a default set of render states with a custom transform

Private Methods

Method Description
Marshal ( ) : MarshalData

Method Details

RenderStates() public method

Construct a default set of render states with a custom blend mode
public RenderStates ( BlendMode blendMode ) : System
blendMode BlendMode Blend mode to use
return System

RenderStates() public method

Construct a set of render states with all its attributes
public RenderStates ( BlendMode blendMode, Transform transform, Texture texture, Shader shader ) : System
blendMode BlendMode Blend mode to use
transform Transform Transform to use
texture Texture Texture to use
shader Shader Shader to use
return System

RenderStates() public method

Copy constructor
public RenderStates ( RenderStates copy ) : System
copy RenderStates States to copy
return System

RenderStates() public method

Construct a default set of render states with a custom shader
public RenderStates ( Shader shader ) : System
shader Shader Shader to use
return System

RenderStates() public method

Construct a default set of render states with a custom texture
public RenderStates ( Texture texture ) : System
texture Texture Texture to use
return System

RenderStates() public method

Construct a default set of render states with a custom transform
public RenderStates ( Transform transform ) : System
transform Transform Transform to use
return System

Property Details

BlendMode public_oe property

Blending mode
public BlendMode BlendMode
return BlendMode

Shader public_oe property

Shader
public Shader,SFML.Graphics Shader
return Shader

Texture public_oe property

Texture
public Texture,SFML.Graphics Texture
return Texture

Transform public_oe property

Transform
public Transform,SFML.Graphics Transform
return Transform