armos.graphics.renderer

Undocumented in source.

Members

Classes

Renderer
class Renderer

Enums

BlendMode
enum BlendMode
MatrixMode
enum MatrixMode

openGLで扱うMatrixの種類を表します.

PolyRenderMode
enum PolyRenderMode

ポリゴンのレンダリング方法を表します

PrimitiveMode
enum PrimitiveMode

ポリゴンのプリミティブを指定します.

Functions

background
void background(armos.types.Color color)
background
void background(float gray)
background
void background(float r, float g, float b, float a)
blendMode
void blendMode(armos.graphics.BlendMode mode)
clear
void clear(armos.types.Color c)
color
void color(float r, float g, float b, float a)
color
void color(armos.types.Color c)
color
void color(float gray)
currentFbo
armos.graphics.Fbo currentFbo()
currentMaterial
armos.graphics.Material currentMaterial()
currentRenderer
armos.graphics.Renderer currentRenderer()
currentStyle
armos.graphics.Style currentStyle()
disableDepthTest
void disableDepthTest()
disableUsingFbo
void disableUsingFbo()
drawAxis
void drawAxis(float size)
drawGrid
void drawGrid(float stepSize, int numberOfSteps, bool labels, bool x, bool y, bool z)
drawGridPlane
void drawGridPlane(float stepSize, int numberOfSteps, bool labels)
drawLine
void drawLine(T x1, T y1, T z1, T x2, T y2, T z2)
drawLine
void drawLine(T x1, T y1, T x2, T y2)
drawLine
void drawLine(V vec1, V vec2)
drawLine
void drawLine(V vec1, V vec2)
drawRectangle
void drawRectangle(T x, T y, T w, T h)
drawRectangle
void drawRectangle(Vector position, Vector size)
enableDepthTest
void enableDepthTest()
enableUsingFbo
void enableUsingFbo()
fillBackground
void fillBackground()
fillBackground
void fillBackground(armos.types.Color color)
fillBackground
void fillBackground(float gray)
fillBackground
void fillBackground(float r, float g, float b, float a)
frustumMatrix
armos.math.Matrix4f frustumMatrix(double left, double right, double bottom, double top, double zNear, double zFar)
isBackgrounding
void isBackgrounding(bool b)
isUsingDepthTest
void isUsingDepthTest(bool b)
isUsingFbo
void isUsingFbo(bool b)
lineWidth
void lineWidth(float width)
lookAtViewMatrix
armos.math.Matrix4f lookAtViewMatrix(armos.math.Vector3f eye, armos.math.Vector3f center, armos.math.Vector3f up)
modelViewProjectionMatrix
armos.math.Matrix4f modelViewProjectionMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
perspectiveMatrix
armos.math.Matrix4f perspectiveMatrix(float fov, float aspect, float nearDist, float farDist)
popMaterialStack
void popMaterialStack()
popMatrix
void popMatrix()
popStyle
void popStyle()
pushMaterialStack
void pushMaterialStack(armos.graphics.Material material)
pushMatrix
void pushMatrix()
pushStyle
void pushStyle()
rotate
M rotate(M matrix, T rad, T x, T y, T z)
rotate
void rotate(T rad, T vec_x, T vec_y, T vec_z)
rotate
void rotate(T rad, V vec)
rotationMatrix
M4 rotationMatrix(T rad, T x, T y, T z)
samples
void samples(int s)
samples
int samples()
scale
M scale(M matrix, T x, T y, T z)
scale
void scale(float x, float y, float z)
scale
void scale(float s)
scale
void scale(armos.math.Vector3f vec)
scalingMatrix
M scalingMatrix(T x, T y, T z)
scopedModelMatrix
ScopedMatrixStack scopedModelMatrix(armos.math.Matrix4f matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
scopedProjectionMatrix
ScopedMatrixStack scopedProjectionMatrix(armos.math.Matrix4f matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
scopedTextureMatrix
ScopedMatrixStack scopedTextureMatrix(armos.math.Matrix4f matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
scopedViewMatrix
ScopedMatrixStack scopedViewMatrix(armos.math.Matrix4f matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
screenPerspectiveMatrix
armos.math.Matrix4f screenPerspectiveMatrix(float width, float height, float fov, float nearDist, float farDist)
screenPerspectiveMatrix
armos.math.Matrix4f screenPerspectiveMatrix(V size, float fov, float nearDist, float farDist)
style
void style(armos.graphics.Style s)
translate
M translate(M matrix, T x, T y, T z)
translate
void translate(T x, T y, T z)
translate
void translate(V vec)
translate
void translate(V vec)
translationMatrix
M translationMatrix(T x, T y, T z)
viewport
void viewport(float x, float y, float width, float height, bool vflip)
viewport
void viewport(V position, V size, bool vflip)
viewport
V4 viewport()
Undocumented in source. Be warned that the author may not have intended to support it.
viewportPosition
V2 viewportPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
viewportSize
V2 viewportSize()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin armos.graphics.matrixstack.MatrixStackFunction!("Model")
__anonymous
mixin armos.graphics.matrixstack.MatrixStackFunction!("View")
__anonymous
mixin armos.graphics.matrixstack.MatrixStackFunction!("Projection")
__anonymous
mixin armos.graphics.matrixstack.MatrixStackFunction!("Texture")

Meta