Grafický modul/knihovna funkcí.

Grafický modul dělá věci jako kreslení na obrazovku, správu oken, obrázků (Images), fonty (Fonts), da tak podobně.


SpriteBatch (Česky)Uloží geometrii do tabulky ("bufferu"), kterou pak jde vykreslit najednou.

Funkce an arc. if a display mode is supported. a circle. the screen or active Canvas to the specified color. the contents of the screen or active Canvas. objects on screen. a Quad with the specified Image on screen. an ellipse. the current background color. the blending mode. the current target Canvas. the available Canvas formats, and whether each is supported. the window caption. the current color. the active color components used when drawing. the color mode (which controls how images are affected by the current color). the available compressed image formats, and whether each is supported. the default scaling filters used with Images, Canvases, and Fonts. the default scaling filters. the width and height of the window. the current Font object. the height in pixels of the window. the line join style. the current line stipple. the line style. the current line width. the max supported width or height of Images and Canvases. the max supported point size. the current display mode. a list of supported fullscreen modes. the current PixelEffect. the point size. the current point style. information about the system's video card and drivers. the current scissor box. the current Shader. performance-related rendering statistics. the current stencil test configuration. the optional graphics features and whether they're supported. the system-dependent maximum value for a feature. the system-dependent maximum values for features. the width in pixels of the window. if the game window has keyboard focus. the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor. whether the graphics module is able to be used. if the window has been created. whether gamma-correct rendering is enabled. for the support of graphics related functions. whether wireframe mode is used when drawing. lines between points. a new Canvas. a new Font from a TrueType Font or BMFont file. a new Framebuffer. a new Image. a new Font by loading a specifically formatted image. a new Mesh. a new ParticleSystem. a new PixelEffect. a new Quad. a screenshot and returns the ImageData. a new Shader. a new SpriteBatch. a new stencil. a new drawable Text object. a new Video. the current coordinate transformation. a point. one or more points. a polygon. the current coordinate transformation from the transformation stack. the results of drawing operations on the screen. text on screen. If no Font is set, one will be created and set (once) if needed. formatted text, with word wrap and alignment. and pushes the current coordinate transformation to the transformation stack. a quadrilateral shape. a rectangle. the current graphics settings. the coordinate system in two dimensions. the coordinate system in two dimensions. the background color. the blending mode. drawing operations to a Canvas the window caption. the color used for drawing. the color mask. Enables or disables specific color components when rendering. the color mode (which controls how images are affected by the current color). the default scaling filters used with Images, Canvases, and Fonts. the default scaling filters. an already-loaded Font as the current font. window icon. an inverted stencil. the line width and style. the line join style. the line stipple pattern. the line style. the line width. the display mode. and sets a new Font. drawing operations through a pixel shader. the point size and style. the point size. the point style. drawing operations to a Framebuffer or disables scissor. drawing operations through a shader. or releases a stencil. or disables stencil testing. whether wireframe lines will be used when drawing. the coordinate system. geometry as a stencil. fullscreen. the coordinate system in two dimensions. a triangle.


AlignModeText alignment.
ArcTypeDifferent types of arcs that can be drawn.
BlendAlphaModeDifferent ways alpha affects color blending.
BlendModeDifferent ways to do color blending.
CanvasFormatCanvas texture formats.
ColorModeControls how drawn images are affected by current color.
CompareModeDifferent types of stencil test comparisons.
DrawModeControls whether shapes are drawn as an outline, or filled.
FilterModeHow the image is filtered when scaling.
GraphicsFeatureGraphics features that can be checked for with
GraphicsLimitTypes of system-dependent graphics limits.
LineJoinLine join style.
LineStyleThe styles in which lines are drawn.
MeshDrawModeHow a Mesh's vertices are used when drawing.
PointStyleHow points should be drawn.
SpriteBatchUsageUsage hints for SpriteBatches and Meshes.
StackTypeGraphics state stack types used with
StencilActionHow a stencil function modifies the stencil values of pixels it touches.
TextureFormatControls the canvas texture format.
WrapModeHow the image wraps inside a large Quad.

Další informace

Jiné jazyky