nudsfml.graphics

Undocumented in source.

Modules

blendmode
module nudsfml.graphics.blendmode
Undocumented in source.
circleshape
module nudsfml.graphics.circleshape

This class inherits all the functions of $(TRANSFORMABLE_LINK) (position, rotation, scale, bounds, ...) as well as the functions of $(SHAPE_LINK) (outline, color, texture, ...).

color
module nudsfml.graphics.color
Undocumented in source.
convexshape
module nudsfml.graphics.convexshape

This class inherits all the functions of $(TRANSFORMABLE_LINK) (position, rotation, scale, bounds, ...) as well as the functions of $(SHAPE_LINK) (outline, color, texture, ...).

drawable
module nudsfml.graphics.drawable
Undocumented in source.
font
module nudsfml.graphics.font

Fonts can be loaded from a file, from memory or from a custom stream, and supports the most common types of fonts. See the loadFromFile function for the complete list of supported formats.

glsl
module nudsfml.graphics.glsl
Undocumented in source.
glyph
module nudsfml.graphics.glyph

A glyph is the visual representation of a character.

image
module nudsfml.graphics.image
Undocumented in source.
primitivetype
module nudsfml.graphics.primitivetype
Undocumented in source.
rect
module nudsfml.graphics.rect
Undocumented in source.
rectangleshape
module nudsfml.graphics.rectangleshape

This class inherits all the functions of $(TRANSFORMABLE_LINK) (position, rotation, scale, bounds, ...) as well as the functions of $(SHAPE_LINK) (outline, color, texture, ...).

renderstates
module nudsfml.graphics.renderstates
Undocumented in source.
rendertarget
module nudsfml.graphics.rendertarget

$(U RenderTarget) defines the common behaviour of all the 2D render targets usable in the graphics module. It makes it possible to draw 2D entities like sprites, shapes, text without using any OpenGL command directly.

rendertexture
module nudsfml.graphics.rendertexture

$(U RenderTexture) is the little brother of $(RENDERWINDOW_LINK). It implements the same 2D drawing and OpenGL-related functions (see their base class $(RENDERTARGET_LINK) for more details), the difference is that the result is stored in an off-screen texture rather than being show in a window.

renderwindow
module nudsfml.graphics.renderwindow

$(U RenderWindow) is the main class of the Graphics package. It defines an OS window that can be painted using the other classes of the graphics module.

shader
module nudsfml.graphics.shader
Undocumented in source.
shape
module nudsfml.graphics.shape

$(U Shape) is a drawable class that allows to define and display a custom convex shape on a render target.

sprite
module nudsfml.graphics.sprite

$(U Sprite) is a drawable class that allows to easily display a texture (or a part of it) on a render target.

text
module nudsfml.graphics.text

$(U Text) is a drawable class that allows one to easily display some text with a custom style and color on a render target.

texture
module nudsfml.graphics.texture
Undocumented in source.
transform
module nudsfml.graphics.transform
Undocumented in source.
transformable
module nudsfml.graphics.transformable

The interface and template are provided for convenience, on top of $(TRANSFORM_LINK).

vertex
module nudsfml.graphics.vertex
Undocumented in source.
vertexarray
module nudsfml.graphics.vertexarray

$(U VertexArray) is a very simple wrapper around a dynamic array of vertices and a primitives type.

view
module nudsfml.graphics.view
Undocumented in source.

Public Imports

nudsfml.graphics.blendmode
public import nudsfml.graphics.blendmode;
Undocumented in source.
nudsfml.graphics.drawable
public import nudsfml.graphics.drawable;
Undocumented in source.
nudsfml.graphics.glsl
public import nudsfml.graphics.glsl;
Undocumented in source.
nudsfml.graphics.image
public import nudsfml.graphics.image;
Undocumented in source.
nudsfml.graphics.primitivetype
public import nudsfml.graphics.primitivetype;
Undocumented in source.
nudsfml.graphics.renderstates
public import nudsfml.graphics.renderstates;
Undocumented in source.
nudsfml.graphics.rendertexture
public import nudsfml.graphics.rendertexture;
Undocumented in source.
nudsfml.graphics.shader
public import nudsfml.graphics.shader;
Undocumented in source.
nudsfml.graphics.shape
public import nudsfml.graphics.shape;
Undocumented in source.
nudsfml.graphics.text
public import nudsfml.graphics.text;
Undocumented in source.
nudsfml.graphics.transform
public import nudsfml.graphics.transform;
Undocumented in source.
nudsfml.graphics.vertex
public import nudsfml.graphics.vertex;
Undocumented in source.
nudsfml.graphics.view
public import nudsfml.graphics.view;
Undocumented in source.
nudsfml.graphics.color
public import nudsfml.graphics.color;
Undocumented in source.
nudsfml.graphics.font
public import nudsfml.graphics.font;
Undocumented in source.
nudsfml.graphics.glyph
public import nudsfml.graphics.glyph;
Undocumented in source.
nudsfml.graphics.rect
public import nudsfml.graphics.rect;
Undocumented in source.
nudsfml.graphics.rendertarget
public import nudsfml.graphics.rendertarget;
Undocumented in source.
nudsfml.graphics.renderwindow
public import nudsfml.graphics.renderwindow;
Undocumented in source.
nudsfml.graphics.sprite
public import nudsfml.graphics.sprite;
Undocumented in source.
nudsfml.graphics.texture
public import nudsfml.graphics.texture;
Undocumented in source.
nudsfml.graphics.transformable
public import nudsfml.graphics.transformable;
Undocumented in source.
nudsfml.graphics.vertexarray
public import nudsfml.graphics.vertexarray;
Undocumented in source.
nudsfml.graphics.circleshape
public import nudsfml.graphics.circleshape;
Undocumented in source.
nudsfml.graphics.convexshape
public import nudsfml.graphics.convexshape;
Undocumented in source.
nudsfml.graphics.rectangleshape
public import nudsfml.graphics.rectangleshape;
Undocumented in source.
nudsfml.window
public import nudsfml.window;
Undocumented in source.
nudsfml.system
public import nudsfml.system;
Undocumented in source.

Meta