RenderStates Structure

SFML.Net

RenderStates Structure
Define the states used for drawing to a RenderTarget

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public struct RenderStates
Public Structure RenderStates
public value class RenderStates
[<SealedAttribute>]
type RenderStates =  struct end

The RenderStates type exposes the following members.

Constructors
  NameDescription
Public methodRenderStates(BlendMode)
Construct a default set of render states with a custom blend mode
Public methodRenderStates(RenderStates)
Copy constructor
Public methodRenderStates(Shader)
Construct a default set of render states with a custom shader
Public methodRenderStates(Texture)
Construct a default set of render states with a custom texture
Public methodRenderStates(Transform)
Construct a default set of render states with a custom transform
Public methodRenderStates(BlendMode, Transform, Texture, Shader)
Construct a set of render states with all its attributes
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldBlendMode
Blending mode
Public fieldShader
Shader
Public fieldTexture
Texture
Public fieldTransform
Transform
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Special instance holding the default render states
Top
See Also