Back to class index
Graphics[Class Summary]
Resized
OrientationAboutToChange
size
type
normalized
stride
pointer[const]
timeStalledForGPU
ctor
~dtor
Deinit()
Clear(...)
ScreenWidth()[const]
ScreenHeight()[const]
GetDisplayState()[const]
Resize(...)
Present()
ApplyVertexBuffer(vb)
ApplyIndexBuffer(ib)
ApplyMaterialShaders(material)
ApplyMaterial(material)
ApplyConstantBuffer(...)
ApplyTexture(...)
ApplyTextureSampler(...)
ApplyRasterizerState(rasterizerState)
ApplyBlendState(blendState)
ApplyDepthState(depthState)
Render(...) (+1 overload)
ApplyAndRender(...) (+1 overload)
ProfileDisableRendering(disableRendering_)
IsTextureFormatSupported(format)[const]
ProfileReplaceTexturesWith4x4Block(...)
ProfileDisableAlphaBlending(...)
Instance()[static]
SupportsGLExtension(extensionString)[static]
CheckErrors(hintOperation)[static]
DumpGLES2State()[static]
GlActiveTexture(textureIndex)[static]

Graphics::Render

Syntax

void Graphics::Render(VertexBuffer *vb, int numPrimitives=-1, int startVertexOffset=0);

Renders the given vertex buffer, assuming it was already activated as the currently active vertex buffer.

Syntax

void Graphics::Render(VertexBuffer *vb, const IndexBuffer *ib, int numPrimitives=-1, int startIndexOffset=0, int startVertexOffset=0);

Renders the given vertex and index buffer combination, which must have been applied in advance.

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index