|
| 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 | _addMetrics (const RenderingMetrics &newMetrics) |
|
void | _beginFrame () |
| Signifies the beginning of a frame, i.e.
|
|
virtual void | _beginFrameOnce (void) |
| Signifies the beginning of the main frame.
|
|
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 (IDirect3DDevice9 *creator) |
|
void | _cleanupDepthBuffers (IDirect3DSurface9 *manualSurface) |
| This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
|
|
void | _cleanupDepthBuffers (void) |
| This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
|
|
virtual void | _clearStateAndFlushCommandBuffer (void) |
| On D3D11 calls ClearState followed by Flush().
|
|
virtual void | _convertOpenVrProjectionMatrix (const Matrix4 &matrix, Matrix4 &dest) |
| Converts an OpenVR projection matrix to have the proper depth range and reverse Z settings.
|
|
virtual void | _convertProjectionMatrix (const Matrix4 &matrix, Matrix4 &dest) |
| Converts a uniform projection matrix to suitable for this render system.
|
|
DepthBuffer * | _createDepthBufferFor (RenderTarget *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 bool | _createRenderWindows (const RenderWindowDescriptionList &renderWindowDescriptions, WindowList &createdWindows) |
| Creates multiple rendering windows.
|
|
void | _dereferenceSharedDepthBuffer (TextureGpu *depthBuffer) |
| Releases the reference count on a shared depth buffer.
|
|
virtual void | _descriptorSetSamplerCreated (DescriptorSetSampler *newSet) |
|
virtual void | _descriptorSetSamplerDestroyed (DescriptorSetSampler *set) |
|
virtual void | _descriptorSetTexture2Created (DescriptorSetTexture2 *newSet) |
|
virtual void | _descriptorSetTexture2Destroyed (DescriptorSetTexture2 *set) |
|
virtual void | _descriptorSetTextureCreated (DescriptorSetTexture *newSet) |
|
virtual void | _descriptorSetTextureDestroyed (DescriptorSetTexture *set) |
|
virtual void | _descriptorSetUavCreated (DescriptorSetUav *newSet) |
|
virtual void | _descriptorSetUavDestroyed (DescriptorSetUav *set) |
|
void | _disableTextureUnit (size_t texUnit) |
|
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.
|
|
Viewport & | _getCurrentRenderViewport (void) |
|
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 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 | _makeRsProjectionMatrix (const Matrix4 &matrix, Matrix4 &dest, Real nearPlane, Real farPlane, ProjectionType projectionType) |
| Takes a regular source projection matrix in range [-1; 1] and converts it to a projection matrix in 'dest' with reverse Z range [1; 0].
|
|
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) |
|
void | _resetMetrics () |
|
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) |
|
virtual void | _setCurrentDeviceFromTexture (TextureGpu *texture)=0 |
| Because Ogre doesn't (yet) have the notion of a 'device' or 'GL context', this function lets Ogre know which device should be used by providing a texture.
|
|
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, TextureGpu *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 | _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 | _setSamplers (uint32 slotStart, const DescriptorSetSampler *set)=0 |
|
virtual void | _setSamplersCS (uint32 slotStart, const DescriptorSetSampler *set)=0 |
|
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, TextureGpu *tex) |
|
virtual void | _setTessellationHullTexture (size_t unit, TextureGpu *tex) |
|
void | _setTexture (size_t unit, bool enabled, const TexturePtr &texPtr) |
|
virtual void | _setTexture (size_t unit, TextureGpu *texPtr, bool bDepthReadOnly)=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) |
|
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.
|
|
virtual void | _setTextures (uint32 slotStart, const DescriptorSetTexture *set, uint32 hazardousTexIdx)=0 |
|
virtual void | _setTextures (uint32 slotStart, const DescriptorSetTexture2 *set)=0 |
|
virtual void | _setTexturesCS (uint32 slotStart, const DescriptorSetTexture *set)=0 |
|
virtual void | _setTexturesCS (uint32 slotStart, const DescriptorSetTexture2 *set)=0 |
|
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 | _setUavCS (uint32 slotStart, const DescriptorSetUav *set)=0 |
|
virtual void | _setVertexArrayObject (const VertexArrayObject *vao)=0 |
| Part of the low level rendering interface.
|
|
void | _setVertexTexture (size_t unit, const TexturePtr &tex) |
|
virtual void | _setVertexTexture (size_t unit, TextureGpu *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) |
|
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 | beginGPUSampleProfile (const String &name, uint32 *hashCache)=0 |
|
virtual void | beginProfileEvent (const String &eventName) |
| This marks the beginning of an event for GPU profiling.
|
|
virtual void | beginRenderPassDescriptor (RenderPassDescriptor *desc, TextureGpu *anyTarget, uint8 mipLevel, const Vector4 *viewportSizes, const Vector4 *scissors, uint32 numViewports, bool overlaysEnabled, bool warnIfRtvWasFlushed) |
| When the descriptor is set to Load clear, two possible things may happen:
|
|
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)
|
|
virtual void | clearFrameBuffer (RenderPassDescriptor *renderPassDesc, TextureGpu *anyTarget, uint8 mipLevel)=0 |
| Immediately clears the whole frame buffer on the selected RenderPassDescriptor.
|
|
void | clearFrameBuffer (unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0) |
|
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) |
|
virtual RenderPassDescriptor * | createRenderPassDescriptor (void)=0 |
|
void | createStereoDriver (const NameValuePairList *miscParams) |
| Creates a bridge to the Direct3D stereo driver implementation.
|
|
virtual void | debugAnnotationPop (void) |
|
virtual void | debugAnnotationPush (const String &event) |
| Specifically meant to mark passes in RenderDoc.
|
|
virtual void | deinitGPUProfiling (void)=0 |
|
virtual void | destroyHardwareOcclusionQuery (HardwareOcclusionQuery *hq) |
| Destroy a hardware occlusion query object.
|
|
void | destroyRenderPassDescriptor (RenderPassDescriptor *renderPassDesc) |
|
void | destroyRenderTarget (const String &name) |
|
virtual void | destroyRenderWindow (Window *window) |
| Destroys a render window.
|
|
virtual RenderTarget * | detachRenderTarget (const String &name) |
|
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.
|
|
void | enableClipPlane (ushort index, bool enable) |
|
virtual void | endCopyEncoder () |
| Required when caller will soon start analyzing barriers (e.g.
|
|
virtual void | endGpuDebuggerFrameCapture (Window *window) |
| See RenderSystem::startGpuDebuggerFrameCapture Call this function when you're done capturing a frame.
|
|
virtual void | endGPUSampleProfile (const String &name)=0 |
|
virtual void | endProfileEvent (void) |
| Ends the currently active GPU profiling event.
|
|
virtual void | endRenderPassDescriptor (void) |
|
virtual void | executeRenderPassDescriptorDelayedActions (void) |
| Metal needs to delay RenderCommand creation to the last minute, because we can't issue blit operations (e.g.
|
|
virtual void | executeResourceTransition (const ResourceTransitionArray &rstCollection) |
|
void | fireDeviceEvent (D3D9Device *device, const String &name) |
| Fires a device related event.
|
|
virtual void | flushCommands (void)=0 |
|
BarrierSolver & | getBarrierSolver (void) |
|
BoundUav | getBoundUav (size_t slot) const |
|
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.
|
|
RenderPassDescriptor * | getCurrentPassDescriptor (void) |
|
Viewport * | getCurrentRenderViewports (void) |
|
virtual void | getCustomAttribute (const String &name, void *pData) |
| Gets a custom (maybe platform-specific) attribute.
|
|
bool | getDebugShaders (void) const |
|
virtual TextureGpu * | getDepthBufferFor (TextureGpu *colourTexture, uint16 poolId, bool preferDepthTexture, PixelFormatGpu depthBufferFormat) |
|
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.
|
|
bool | getInvertedClipSpaceY (void) const |
| +Y is downwards in NDC (Normalized Device Coordinates). Only Vulkan has this problem.
|
|
virtual bool | getInvertVertexWinding (void) const |
| Indicates whether or not the vertex windings set will be inverted for the current render (e.g.
|
|
uint32 | getMaxBoundViewports (void) |
|
Real | getMaximumDepthInputValue () |
| Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
|
|
const RenderingMetrics & | getMetrics () const |
|
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 size_t | getNumPriorityConfigOptions (void) const |
| Number of priority config options in RenderSystem::getPriorityConfigOption.
|
|
virtual const PixelFormatToShaderType * | getPixelFormatToShaderType (void) const =0 |
|
virtual const char * | getPriorityConfigOption (size_t idx) const |
| Some options depend on other options.
|
|
RENDERDOC_API_1_4_1 * | getRenderDocApi (void) |
| Returns the RenderDoc API handle in case you want to do more advanced functionality than what we expose.
|
|
virtual const StringVector & | getRenderSystemEvents (void) const |
| Gets a list of the rendersystem specific events that this rendersystem can raise.
|
|
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 |
|
TextureGpuManager * | getTextureGpuManager (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.
|
|
bool | isReverseDepth (void) const |
|
virtual bool | isSameLayout (ResourceLayout::Layout a, ResourceLayout::Layout b, const TextureGpu *texture, bool bIsDebugCheck) const |
| Returns true if 'a' and 'b' internally map to the same layout and should be considered equivalent for a given texture.
|
|
virtual bool | isStaticBufferLockable () const |
|
bool | loadRenderDocApi (void) |
| Explicitly loads RenderDoc.
|
|
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.
|
|
void | queueBindUAVs (const DescriptorSetUav *descSetUav) |
| Queues the binding of an UAV to the binding point/slot.
|
|
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 | 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 | setMetricsRecordingEnabled (bool bEnable) |
|
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) |
|
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.
|
|
virtual bool | startGpuDebuggerFrameCapture (Window *window) |
| Programmatically performs a GPU capture when attached to a GPU debugger like RenderDoc or Metal Graphics Debugger.
|
|
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) |
| 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.
|
|
virtual bool | validateDevice (bool forceDeviceElection=false) |
| Some render systems have moments when GPU device is temporarily unavailable, for example when D3D11 device is lost, or when iOS app is in background, etc.
|
|
virtual SampleDescription | validateSampleDescription (const SampleDescription &sampleDesc, PixelFormatGpu format) |
| Returns supported sample description for requested FSAA mode, with graceful downgrading.
|
|