GL

Wrapper "namespace" containing properties and stateless functions

struct GL {}

Members

Properties

cullFaceMode
CullFaceMode cullFaceMode [@property getter]

Returns the current cull face mode.

cullFaceMode
CullFaceMode cullFaceMode [@property setter]

Sets the current cull face mode.

debugMessageCallback
DebugMessageCallback debugMessageCallback [@property setter]

Sets a callback for debug messages

depthFunc
DepthFunction depthFunc [@property getter]

Returns the current depth function.

depthFunc
DepthFunction depthFunc [@property setter]

Changes the current depth function.

frontFace
FrontFaceDirection frontFace [@property getter]

Returns the direction of front faces.

frontFace
FrontFaceDirection frontFace [@property setter]

Changes the front face direction.

lineWidth
float lineWidth [@property getter]

Returns the current line width.

lineWidth
float lineWidth [@property setter]

Changes the current line width.

logicOp
LogicOp logicOp [@property getter]

Returns the logical pixel operation for rendering.

logicOp
LogicOp logicOp [@property setter]

Changes the logical pixel operation for rendering.

minSampleShading
float minSampleShading [@property getter]

Returns the minimum rate at which sample shading takes place.

minSampleShading
float minSampleShading [@property setter]

Changes the minimum rate at which sample shading takes place.

pointSize
float pointSize [@property getter]

Returns the current point size.

pointSize
float pointSize [@property setter]

Changes the current point size.

primitiveRestartIndex
uint primitiveRestartIndex [@property getter]

Returns the primitive restart index.

primitiveRestartIndex
uint primitiveRestartIndex [@property setter]

Changes the primitive restart index.

Static functions

blendFunc
void blendFunc(BlendingFactor sfactor, BlendingFactor dfactor)
blendFunc
void blendFunc(uint buf, BlendingFactor sfactor, BlendingFactor dfactor)
blendFunc
void blendFunc(BlendingFactor srcRGB, BlendingFactor dstRGB, BlendingFactor srcAlpha, BlendingFactor dstAlpha)
blendFunc
void blendFunc(uint buf, BlendingFactor srcRGB, BlendingFactor dstRGB, BlendingFactor srcAlpha, BlendingFactor dstAlpha)
clear
void clear(ClearBufferMask mask)
debugMessageInsert
void debugMessageInsert(DebugSource source, DebugType type, uint id, DebugSeverity severity, string msg)
depthRange
void depthRange(float nearVal, float farVal)
depthRange
void depthRange(double nearVal, double farVal)
polygonMode
void polygonMode(MaterialFace face, PolygonMode mode)
polygonOffset
void polygonOffset(float factor, float units)
sampleCoverage
void sampleCoverage(float value, bool invert)
scissor
void scissor(int x, int y, uint width, uint height)
scissorArray
void scissorArray(uint index, int[4][] v)
scissorIndexed
void scissorIndexed(uint index, int left, int bottom, uint width, uint height)
scissorIndexed
void scissorIndexed(uint index, int[4] v)
stencilFunc
void stencilFunc(StencilFunction func, int ref_, uint mask)
stencilOp
void stencilOp(StencilOp sfail, StencilOp dpfail, StencilOp dppass)

Meta