Creates an off-screen render target with no pixels allocated yet.
Creates an off-screen render target with the specified pixel size and context settings.
sizesettingsOptionalProtectedactivateFinish recorded work before direct OpenGL access or deactivation.
activeProtectedallocatecapacityProtectedchangeGLStatesoperationRecords a color clear command, defaulting to black; also clears the stencil buffer when stencil is supplied.
colorstencilOptionalRecords only a stencil buffer clear command; the default stencil value is 0.
stencilSynchronously submits recorded draws and updates the result texture; only then can these draw results be sampled.
Synchronously records an object draw snapshot, unaffected by later changes; submits at flush/display.
drawablestatesOptionalRecords a draw of the entire GPU vertex buffer, retaining render states from the call.
bufferstatesOptionalDraws vertexCount vertices starting at firstVertex, automatically truncating counts beyond the end.
bufferfirstVertexvertexCountstatesOptionalCopies a vertex snapshot and records a draw using type; states defaults to RenderStates.Default.
verticestypestatesOptionalSubmit pending draws before an external graphics operation.
Call display() after drawing, then generate mipmaps for that image.
Returns a read-only reference to the default view covering the target's pixel area.
Converts view's normalized scissor area into a pixel rectangle.
viewBorrow the GPU resource; call display() before sampling new draws.
Returns a read-only reference to the current view, updated by setView.
Converts view's normalized viewport into a pixel rectangle in the target.
viewProtectedinitializeCalled only after native construction or resize succeeds.
sizeReturns whether the result texture repeats.
Returns whether the result texture uses smooth filtering.
Returns whether the render target enables sRGB color conversion.
Converts world coordinates to integer target pixel coordinates; uses the current view when view is omitted.
pointviewConverts target pixel coordinates to world coordinates; uses the current view when view is omitted.
pointviewSubmits queued draws and restores OpenGL states saved by pushGLStates.
Submits queued draws and saves current OpenGL states for mixing with native OpenGL.
Submits queued draws and restores OpenGL states required for SFML drawing.
Failure preserves the target; successful resize leaves pixels undefined.
sizesettingsSubmits queued draws and activates or deactivates the OpenGL context; returns whether it succeeded.
activeSets whether the result texture repeats.
repeatedSets whether the result texture uses smooth filtering.
smoothCopies and sets the view for subsequent draws; recorded draws retain their original view.
viewProtectedsubmitdisplayProtectedsubmitcountdisplayStaticgetReturns the maximum antialiasing level supported by the current environment.
Readonly[graphics
sf::RenderTexture: record clear/draw, submit when display is called.