|
| D3D9RenderSystem (HINSTANCE hInstance) |
|
| ~D3D9RenderSystem () |
|
DepthBuffer * | _addManualDepthBuffer (IDirect3DDevice9 *depthSurfaceDevice, IDirect3DSurface9 *surf) |
| This function is meant to add Depth Buffers to the pool that aren't released when the DepthBuffer is deleted.
|
|
void | _applyObliqueDepthProjection (Matrix4 &matrix, const Plane &plane, bool forGpuProgram) |
| Update a perspective projection matrix to use 'oblique depth projection'.
|
|
void | _beginFrame () |
| Signifies the beginning of a frame, i.e.
|
|
virtual void | _beginFrameOnce (void) |
| Signifies the beginning of the main frame.
|
|
virtual void | _beginGeometryCount (void) |
| The RenderSystem will keep a count of tris rendered, this resets the count.
|
|
virtual void | _bindTextureUavCS (uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)=0 |
| Binds an UAV texture to a Compute Shader.
|
|
bool | _checkTextureFilteringSupported (TextureType ttype, PixelFormat format, int usage) |
| Check whether or not filtering is supported for the precise texture format requested with the given usage options.
|
|
void | _cleanupDepthBuffers (bool bCleanManualBuffers=true) |
| This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
|
|
void | _cleanupDepthBuffers (IDirect3DDevice9 *creator) |
|
void | _cleanupDepthBuffers (IDirect3DSurface9 *manualSurface) |
| This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
|
|
void | _convertProjectionMatrix (const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false) |
| Converts a uniform projection matrix to suitable for this render system.
|
|
DepthBuffer * | _createDepthBufferFor (RenderTarget *renderTarget) |
| Creates a DepthBuffer that can be attached to the specified RenderTarget.
|
|
virtual DepthBuffer * | _createDepthBufferFor (RenderTarget *renderTarget, bool exactMatchFormat)=0 |
| Creates a DepthBuffer that can be attached to the specified RenderTarget.
|
|
RenderWindow * | _createRenderWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
| Creates a new rendering window.
|
|
bool | _createRenderWindows (const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows) |
| Creates multiple rendering windows.
|
|
virtual void | _destroyDepthBuffer (DepthBuffer *depthBuffer) |
|
void | _disableTextureUnit (size_t texUnit) |
| Turns off a texture unit.
|
|
virtual void | _disableTextureUnitsFrom (size_t texUnit) |
| Disables all texture units from the given unit upwards.
|
|
virtual void | _dispatch (const HlmsComputePso &pso)=0 |
|
void | _endFrame () |
| Ends rendering of a frame to the current viewport.
|
|
virtual void | _endFrameOnce (void) |
| Called once per frame, regardless of how many active workspaces there are.
|
|
virtual void | _executeResourceTransition (ResourceTransition *resTransition) |
|
virtual unsigned int | _getBatchCount (void) const |
| Reports the number of batches rendered since the last _beginGeometryCount call.
|
|
virtual const String & | _getDefaultViewportMaterialScheme (void) const |
| Returns the default material scheme used by the render system.
|
|
D3DFORMAT | _getDepthStencilFormatFor (D3DFORMAT fmt) |
| Check which depthStencil formats can be used with a certain pixel format, and return the best suited.
|
|
virtual unsigned int | _getFaceCount (void) const |
| Reports the number of tris rendered since the last _beginGeometryCount call.
|
|
virtual unsigned int | _getVertexCount (void) const |
| Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
|
|
virtual Viewport * | _getViewport (void) |
| Get the current active viewport for rendering.
|
|
virtual void | _hlmsBlendblockCreated (HlmsBlendblock *newBlock) |
|
virtual void | _hlmsBlendblockDestroyed (HlmsBlendblock *block) |
|
virtual void | _hlmsComputePipelineStateObjectCreated (HlmsComputePso *newPso) |
|
virtual void | _hlmsComputePipelineStateObjectDestroyed (HlmsComputePso *newPso) |
|
virtual void | _hlmsMacroblockCreated (HlmsMacroblock *newBlock) |
|
virtual void | _hlmsMacroblockDestroyed (HlmsMacroblock *block) |
|
virtual void | _hlmsPipelineStateObjectCreated (HlmsPso *newPso) |
|
virtual void | _hlmsPipelineStateObjectDestroyed (HlmsPso *pso) |
|
virtual void | _hlmsSamplerblockCreated (HlmsSamplerblock *newBlock) |
|
virtual void | _hlmsSamplerblockDestroyed (HlmsSamplerblock *block) |
|
RenderWindow * | _initialise (bool autoCreateWindow, const String &windowTitle="OGRE Render Window") |
| Start up the renderer using the settings selected (Or the defaults if none have been selected).
|
|
virtual void | _initRenderTargets (void) |
| Utility method for initialising all render targets attached to this rendering system.
|
|
void | _makeOrthoMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| Builds an orthographic projection matrix suitable for this render system.
|
|
void | _makeProjectionMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| Builds a perspective projection matrix suitable for this render system.
|
|
void | _makeProjectionMatrix (Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false) |
| Builds a perspective projection matrix for the case when frustum is not centered around camera.
|
|
virtual void | _notifyCompositorNodeSwitchedRenderTarget (RenderTarget *previousTarget) |
| This function was created because of Metal.
|
|
virtual RenderSystemContext * | _pauseFrame (void) |
| Pause rendering for a frame.
|
|
virtual void | _render (const CbDrawCallIndexed *cmd)=0 |
| Renders the VAO. Assumes _setVertexArrayObject has already been called.
|
|
virtual void | _render (const CbDrawCallStrip *cmd)=0 |
|
void | _render (const RenderOperation &op) |
|
virtual void | _render (const v1::CbDrawCallIndexed *cmd)=0 |
| Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
|
|
virtual void | _render (const v1::CbDrawCallStrip *cmd)=0 |
|
virtual void | _render (const v1::RenderOperation &op) |
| Render something to the active viewport.
|
|
virtual void | _renderEmulated (const CbDrawCallIndexed *cmd)=0 |
|
virtual void | _renderEmulated (const CbDrawCallStrip *cmd)=0 |
|
virtual void | _renderEmulatedNoBaseInstance (const CbDrawCallIndexed *cmd) |
|
virtual void | _renderEmulatedNoBaseInstance (const CbDrawCallStrip *cmd) |
|
virtual void | _renderNoBaseInstance (const v1::CbDrawCallIndexed *cmd) |
|
virtual void | _renderNoBaseInstance (const v1::CbDrawCallStrip *cmd) |
|
virtual void | _renderUsingReadBackAsTexture (unsigned int secondPass, Ogre::String variableName, unsigned int StartSlot) |
|
virtual void | _resourceTransitionCreated (ResourceTransition *resTransition) |
|
virtual void | _resourceTransitionDestroyed (ResourceTransition *resTransition) |
|
virtual void | _resumeFrame (RenderSystemContext *context) |
| Resume rendering for a frame.
|
|
void | _setAlphaRejectSettings (CompareFunction func, unsigned char value, bool alphaToCoverage) |
|
virtual void | _setBindingType (TextureUnitState::BindingType bindigType) |
| Set texture unit binding type.
|
|
void | _setColourBufferWriteEnabled (bool red, bool green, bool blue, bool alpha) |
|
virtual void | _setComputePso (const HlmsComputePso *pso)=0 |
| Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant state changes (since it's hard to do it at Hlms level)
|
|
void | _setCullingMode (CullingMode mode) |
|
void | _setDepthBias (float constantBias, float slopeScaleBias) |
|
void | _setDepthBufferCheckEnabled (bool enabled=true) |
|
void | _setDepthBufferFunction (CompareFunction func=CMPF_LESS_EQUAL) |
|
void | _setDepthBufferParams (bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL) |
|
void | _setDepthBufferWriteEnabled (bool enabled=true) |
|
virtual void | _setGeometryTexture (size_t unit, const TexturePtr &tex) |
|
virtual void | _setHlmsBlendblock (const HlmsBlendblock *blendblock) |
|
virtual void | _setHlmsMacroblock (const HlmsMacroblock *macroblock) |
|
virtual void | _setHlmsSamplerblock (uint8 texUnit, const HlmsSamplerblock *Samplerblock)=0 |
| @See HlmsSamplerblock.
|
|
virtual void | _setHlmsSamplerblockCS (uint8 texUnit, const HlmsSamplerblock *Samplerblock)=0 |
|
virtual void | _setIndirectBuffer (IndirectBufferPacked *indirectBuffer)=0 |
|
virtual void | _setPipelineStateObject (const HlmsPso *pso) |
| @See HlmsPso
|
|
void | _setPointParameters (Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize) |
| Sets the size of points and how they are attenuated with distance.
|
|
void | _setPointSpritesEnabled (bool enabled) |
| Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) or plain points.
|
|
void | _setPolygonMode (PolygonMode level) |
|
virtual void | _setProgramsFromHlms (const HlmsCache *hlmsCache) |
|
void | _setProjectionMatrix (const Matrix4 &m) |
| Sets the projection transform matrix.
|
|
virtual void | _setRenderOperation (const v1::CbRenderOp *cmd)=0 |
|
void | _setRenderTarget (RenderTarget *target) |
| Set current render target to target, enabling its GL context if needed.
|
|
virtual void | _setRenderTarget (RenderTarget *target, uint8 viewportRenderTargetFlags)=0 |
| Set current render target to target, enabling its device context if needed.
|
|
void | _setSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op) |
|
void | _setSeparateSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp) |
|
void | _setSurfaceParams (const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking) |
| Sets the surface properties to be used for future rendering.
|
|
virtual void | _setTessellationDomainTexture (size_t unit, const TexturePtr &tex) |
|
virtual void | _setTessellationHullTexture (size_t unit, const TexturePtr &tex) |
|
virtual void | _setTexture (size_t unit, bool enabled, const String &texname) |
| Sets the texture to bind to a given texture unit.
|
|
void | _setTexture (size_t unit, bool enabled, const TexturePtr &texPtr) |
|
virtual void | _setTexture (size_t unit, bool enabled, Texture *texPtr)=0 |
| Sets the texture to bind to a given texture unit.
|
|
void | _setTextureAddressingMode (size_t stage, const TextureUnitState::UVWAddressingMode &uvw) |
|
void | _setTextureBlendMode (size_t unit, const LayerBlendModeEx &bm) |
| Sets the texture blend modes from a TextureUnitState record.
|
|
void | _setTextureBorderColour (size_t stage, const ColourValue &colour) |
|
void | _setTextureCoordCalculation (size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0) |
| Sets a method for automatically calculating texture coordinates for a stage.
|
|
void | _setTextureCoordSet (size_t unit, size_t index) |
| Sets the texture coordinate set to use for a texture unit.
|
|
virtual void | _setTextureCS (uint32 slot, bool enabled, Texture *texPtr)=0 |
| Binds a regular texture to a Compute Shader.
|
|
void | _setTextureLayerAnisotropy (size_t unit, unsigned int maxAnisotropy) |
|
void | _setTextureMatrix (size_t unit, const Matrix4 &xform) |
| Sets the texture coordinate transformation matrix for a texture unit.
|
|
void | _setTextureMipmapBias (size_t unit, float bias) |
|
virtual void | _setTextureProjectionRelativeTo (bool enabled, const Vector3 &pos) |
| Notify the rendersystem that it should adjust texture projection to be relative to a different origin.
|
|
void | _setTextureUnitCompareEnabled (size_t unit, bool compare) |
|
void | _setTextureUnitCompareFunction (size_t unit, CompareFunction function) |
|
void | _setTextureUnitFiltering (size_t unit, FilterType ftype, FilterOptions filter) |
|
virtual void | _setTextureUnitSettings (size_t texUnit, TextureUnitState &tl) |
| Utility function for setting all the properties of a texture unit at once.
|
|
virtual void | _setVertexArrayObject (const VertexArrayObject *vao)=0 |
| Part of the low level rendering interface.
|
|
void | _setVertexTexture (size_t unit, const TexturePtr &tex) |
| Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
|
|
void | _setViewMatrix (const Matrix4 &m) |
| Sets the view transform matrix.
|
|
void | _setViewport (Viewport *vp) |
| Sets the provided viewport as the active one for future rendering operations.
|
|
virtual void | _setWorldMatrices (const Matrix4 *m, unsigned short count) |
| Sets multiple world matrices (vertex blending).
|
|
void | _setWorldMatrix (const Matrix4 &m) |
| Sets the world transform matrix.
|
|
virtual void | _startLegacyV1Rendering (void) |
| May override the current VertexArrayObject!
|
|
void | _update (void) |
| Called once per frame, regardless of how many active workspaces there are.
|
|
void | _useLights (const LightList &lights, unsigned short limit) |
| Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (this allows the same list to be used with different count limits)
|
|
virtual void | addClipPlane (const Plane &p) |
| Add a user clipping plane.
|
|
virtual void | addClipPlane (Real A, Real B, Real C, Real D) |
| Add a user clipping plane.
|
|
virtual void | addListener (Listener *l) |
| Adds a listener to the custom events that this render system can raise.
|
|
virtual bool | areFixedFunctionLightsInViewSpace () const |
| Are fixed-function lights provided in view space? Affects optimisation.
|
|
virtual void | attachRenderTarget (RenderTarget &target) |
| Attaches the passed render target to the render system.
|
|
virtual void | beginGPUSampleProfile (const String &name, uint32 *hashCache)=0 |
|
virtual void | beginProfileEvent (const String &eventName) |
| This marks the beginning of an event for GPU profiling.
|
|
void | bindGpuProgram (GpuProgram *prg) |
| See RenderSystem.
|
|
void | bindGpuProgramParameters (GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask) |
| See RenderSystem.
|
|
void | bindGpuProgramPassIterationParameters (GpuProgramType gptype) |
| Only binds Gpu program parameters used for passes that have more than one iteration rendering.
|
|
virtual bool | checkExtension (const String &ext) const |
| Checks for the presense of an API-specific extension (eg. Vulkan, GL)
|
|
void | clearFrameBuffer (unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0) |
| Clears one or more frame buffers on the active render target.
|
|
virtual void | clearUAVs (void)=0 |
| By default queueBindUAV will keep all other slots intact.
|
|
virtual void | compositorWorkspaceBegin (CompositorWorkspace *workspace, const bool forceBeginFrame) |
| See RenderSystem::updateCompositorManager.
|
|
virtual void | compositorWorkspaceEnd (CompositorWorkspace *workspace, const bool forceEndFrame) |
| See RenderSystem::updateCompositorManager.
|
|
virtual void | compositorWorkspaceUpdate (CompositorWorkspace *workspace) |
| See RenderSystem::updateCompositorManager.
|
|
virtual void | convertColourValue (const ColourValue &colour, uint32 *pDest) |
| Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSystem.
|
|
HardwareOcclusionQuery * | createHardwareOcclusionQuery () |
| Create an object for performing hardware occlusion queries.
|
|
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
| Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
|
|
void | createStereoDriver (const NameValuePairList *miscParams) |
| Creates a bridge to the Direct3D stereo driver implementation.
|
|
virtual void | createUniqueDepthBufferFor (RenderTarget *renderTarget, bool exactMatch) |
|
virtual void | deinitGPUProfiling (void)=0 |
|
virtual void | destroyHardwareOcclusionQuery (HardwareOcclusionQuery *hq) |
| Destroy a hardware occlusion query object.
|
|
void | destroyRenderTarget (const String &name) |
| Destroys a render target of any sort.
|
|
virtual void | destroyRenderTexture (const String &name) |
| Destroys a render texture.
|
|
virtual void | destroyRenderWindow (const String &name) |
| Destroys a render window.
|
|
virtual RenderTarget * | detachRenderTarget (const String &name) |
| Detaches the render target with the passed name from the render system and returns a pointer to it.
|
|
void | determineFSAASettings (IDirect3DDevice9 *d3d9Device, size_t fsaa, const String &fsaaHint, D3DFORMAT d3dPixelFormat, bool fullScreen, D3DMULTISAMPLE_TYPE *outMultisampleType, DWORD *outMultisampleQuality) |
| Take in some requested FSAA settings and output supported D3D settings.
|
|
virtual void | discardFrameBuffer (unsigned int buffers)=0 |
| Instructs the viewport to 'discard' the buffers.
|
|
void | enableClipPlane (ushort index, bool enable) |
|
virtual void | endGPUSampleProfile (const String &name)=0 |
|
virtual void | endProfileEvent (void) |
| Ends the currently active GPU profiling event.
|
|
void | fireDeviceEvent (D3D9Device *device, const String &name) |
| Fires a device related event.
|
|
virtual void | flushUAVs (void)=0 |
| Forces to take effect all the queued UAV binding requests.
|
|
const RenderSystemCapabilities * | getCapabilities (void) const |
| Gets the capabilities of the render system.
|
|
VertexElementType | getColourVertexElementType () const |
| Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
|
|
ConfigOptionMap & | getConfigOptions () |
| Returns the details of this API's configuration options.
|
|
virtual void | getCustomAttribute (const String &name, void *pData) |
| Gets a custom (maybe platform-specific) attribute.
|
|
bool | getDebugShaders (void) const |
|
unsigned int | getDisplayMonitorCount () const |
| Gets the number of display monitors.
|
|
virtual const DriverVersion & | getDriverVersion (void) const |
| Returns the driver version.
|
|
String | getErrorDescription (long errorNumber) const |
| Returns a description of an error code.
|
|
const String & | getFriendlyName () const |
| Returns the friendly name of the render system.
|
|
v1::HardwareVertexBufferSharedPtr | getGlobalInstanceVertexBuffer () const |
| Returns the global instance vertex buffer.
|
|
v1::VertexDeclaration * | getGlobalInstanceVertexBufferVertexDeclaration () const |
| Gets vertex declaration for the global vertex buffer for the global instancing.
|
|
size_t | getGlobalNumberOfInstances () const |
| Gets the global number of instances.
|
|
Real | getHorizontalTexelOffset () |
| Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem.
|
|
virtual bool | getInvertVertexWinding (void) const |
| Indicates whether or not the vertex windings set will be inverted for the current render (e.g.
|
|
Real | getMaximumDepthInputValue () |
| Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
|
|
Real | getMinimumDepthInputValue () |
| Gets the minimum (closest) depth value to be used when rendering using identity transforms.
|
|
MultiheadUseType | getMultiheadUse () const |
| Returns how multihead should be activated.
|
|
RenderSystemCapabilities * | getMutableCapabilities () |
| Get a pointer to the current capabilities being used by the RenderSystem.
|
|
const String & | getName () const |
| Returns the name of the rendering system.
|
|
uint16 | getNativeShadingLanguageVersion () const |
| Gets the native shading language version for this render system.
|
|
virtual const PixelFormatToShaderType * | getPixelFormatToShaderType (void) const =0 |
|
virtual const StringVector & | getRenderSystemEvents (void) const |
| Gets a list of the rendersystem specific events that this rendersystem can raise.
|
|
virtual RenderTarget * | getRenderTarget (const String &name) |
| Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found.
|
|
virtual RenderTargetIterator | getRenderTargetIterator (void) |
| Returns a specialised MapIterator over all render targets attached to the RenderSystem.
|
|
virtual Real | getRSDepthRange (void) const |
| OpenGL depth is in range [-1;1] so it returns 2.0f; D3D11 & Metal are in range [0;1] so it returns 1.0f;.
|
|
const StencilParams & | getStencilBufferParams (void) const |
|
VaoManager * | getVaoManager (void) const |
|
Real | getVerticalTexelOffset () |
| Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem.
|
|
bool | getWBufferEnabled (void) const |
| Returns true if the renderer will try to use W-buffers when available.
|
|
virtual bool | hasAnisotropicMipMapFilter () const |
| Determines if the system has anisotropic mip map filter support.
|
|
virtual void | initConfigOptions () |
|
virtual void | initGPUProfiling (void)=0 |
|
bool | IsActiveDeviceLost () |
|
virtual bool | isGpuProgramBound (GpuProgramType gptype) |
| Returns whether or not a Gpu program of the given type is currently bound.
|
|
virtual bool | isStaticBufferLockable () const |
|
virtual void | markProfileEvent (const String &eventName) |
| Marks an instantaneous event for graphics profilers.
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
void | postExtraThreadsStarted () |
|
void | preExtraThreadsStarted () |
| Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might access the rendering API are registered.
|
|
virtual void | queueBindUAV (uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)=0 |
| Queues the binding of an UAV to the binding point/slot.
|
|
virtual void | queueBindUAV (uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)=0 |
| See other overload.
|
|
void | registerThread () |
| Register the an additional thread which may make calls to rendersystem-related objects.
|
|
void | reinitialise () |
| Restart the renderer (normally following a change in settings).
|
|
virtual void | removeListener (Listener *l) |
| Remove a listener to the custom events that this render system can raise.
|
|
virtual void | resetClipPlanes () |
| Clears the user clipping region.
|
|
void | setAmbientLight (float r, float g, float b) |
|
void | setClipPlane (ushort index, Real A, Real B, Real C, Real D) |
|
virtual void | setClipPlanes (const PlaneList &clipPlanes) |
| Sets the user clipping region.
|
|
void | setConfigOption (const String &name, const String &value) |
| Sets an option for this API.
|
|
virtual void | setCurrentPassIterationCount (const size_t count) |
| set the current multi pass count value.
|
|
void | setDebugShaders (bool bDebugShaders) |
| Instructs the RenderSystem to compile shaders without optimizations and with debug information, for easier debugging on APIs that support it.
|
|
virtual void | setDepthBufferFor (RenderTarget *renderTarget, bool exactMatch) |
| Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget and sets it.
|
|
virtual void | setDeriveDepthBias (bool derive, float baseValue=0.0f, float multiplier=0.0f, float slopeScale=0.0f) |
| Tell the render system whether to derive a depth bias on its own based on the values passed to it in setCurrentPassIterationCount.
|
|
virtual bool | setDrawBuffer (ColourBufferType colourBuffer) |
| Sets the colour buffer that the render system will to draw.
|
|
void | setGlobalInstanceVertexBuffer (const v1::HardwareVertexBufferSharedPtr &val) |
| Sets the global instance vertex buffer.
|
|
void | setGlobalInstanceVertexBufferVertexDeclaration (v1::VertexDeclaration *val) |
| Sets vertex declaration for the global vertex buffer for the global instancing.
|
|
void | setGlobalNumberOfInstances (const size_t val) |
| Sets the global number of instances.
|
|
void | setInvertVertexWinding (bool invert) |
| Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections.
|
|
void | setScissorTest (bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600) |
|
void | setStencilBufferParams (CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false) |
|
virtual void | setStencilBufferParams (uint32 refValue, const StencilParams &stencilParams) |
| This method allows you to set all the stencil buffer parameters in one call.
|
|
void | setStencilCheckEnabled (bool enabled) |
|
virtual void | setUavStartingSlot (uint32 startingSlot) |
| In Direct3D11, UAV & RenderTargets share the same slots.
|
|
void | setVertexBufferBinding (VertexBufferBinding *binding) |
|
void | setVertexBufferBinding (VertexBufferBinding *binding, size_t numberOfInstances, bool useGlobalInstancingVertexBufferIsAvailable, bool indexesUsed) |
|
void | setVertexDeclaration (VertexDeclaration *decl) |
|
void | setVertexDeclaration (VertexDeclaration *decl, bool useGlobalInstancingVertexBufferIsAvailable) |
|
void | setWBufferEnabled (bool enabled) |
| Sets whether or not W-buffers are enabled if they are available for this renderer.
|
|
void | shutdown () |
| Shutdown the renderer and cleanup resources.
|
|
void | unbindGpuProgram (GpuProgramType gptype) |
| See RenderSystem.
|
|
void | unregisterThread () |
| Unregister an additional thread which may make calls to rendersystem-related objects.
|
|
virtual void | updateCompositorManager (CompositorManager2 *compositorManager, SceneManagerEnumerator &sceneManagers, HlmsManager *hlmsManager) |
| This gives the renderer a chance to perform the compositor update in a special way.
|
|
virtual void | useCustomRenderSystemCapabilities (RenderSystemCapabilities *capabilities) |
| Force the render system to use the special capabilities.
|
|
String | validateConfigOptions () |
| Validates the options set for the rendering system, returning a message if there are problems.
|
|