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::ApplyAndRender

Syntax

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

Activates the given vertex and index buffers to the device, and then submits one render operation using these buffers.

Parameters

intnumPrimitivesThe number of primitives (points, lines, triangles) to draw. -1 draws the whole buffer.

Syntax

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

Activates the given vertex buffer as the next one to be drawn and renders it (nonindiced).

Leave a Comment

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