|
Diligent Engine
v.2.4.g
|
#include <GLContextState.hpp>
Classes | |
| struct | ContextCaps |
Public Member Functions | |
| GLContextState (class RenderDeviceGLImpl *pDeviceGL) | |
| void | SetProgram (const GLObjectWrappers::GLProgramObj &GLProgram) |
| void | SetPipeline (const GLObjectWrappers::GLPipelineObj &GLPipeline) |
| void | BindVAO (const GLObjectWrappers::GLVertexArrayObj &VAO) |
| void | BindFBO (const GLObjectWrappers::GLFrameBufferObj &FBO) |
| void | SetActiveTexture (Int32 Index) |
| void | BindTexture (Int32 Index, GLenum BindTarget, const GLObjectWrappers::GLTextureObj &Tex) |
| void | BindUniformBuffer (Int32 Index, const GLObjectWrappers::GLBufferObj &Buff) |
| void | BindBuffer (GLenum BindTarget, const GLObjectWrappers::GLBufferObj &Buff, bool ResetVAO) |
| void | BindSampler (Uint32 Index, const GLObjectWrappers::GLSamplerObj &GLSampler) |
| void | BindImage (Uint32 Index, class TextureViewGLImpl *pTexView, GLint MipLevel, GLboolean IsLayered, GLint Layer, GLenum Access, GLenum Format) |
| void | BindImage (Uint32 Index, class BufferViewGLImpl *pBuffView, GLenum Access, GLenum Format) |
| void | BindStorageBlock (Int32 Index, const GLObjectWrappers::GLBufferObj &Buff, GLintptr Offset, GLsizeiptr Size) |
| void | EnsureMemoryBarrier (MEMORY_BARRIER RequiredBarriers, class AsyncWritableResource *pRes=nullptr) |
| void | SetPendingMemoryBarriers (MEMORY_BARRIER PendingBarriers) |
| void | EnableDepthTest (bool bEnable) |
| void | EnableDepthWrites (bool bEnable) |
| void | SetDepthFunc (COMPARISON_FUNCTION CmpFunc) |
| void | EnableStencilTest (bool bEnable) |
| void | SetStencilWriteMask (Uint8 StencilWriteMask) |
| void | SetStencilRef (GLenum Face, Int32 Ref) |
| void | SetStencilFunc (GLenum Face, COMPARISON_FUNCTION Func, Int32 Ref, Uint32 Mask) |
| void | SetStencilOp (GLenum Face, STENCIL_OP StencilFailOp, STENCIL_OP StencilDepthFailOp, STENCIL_OP StencilPassOp) |
| void | SetFillMode (FILL_MODE FillMode) |
| void | SetCullMode (CULL_MODE CullMode) |
| void | SetFrontFace (bool FrontCounterClockwise) |
| void | SetDepthBias (float DepthBias, float fSlopeScaledDepthBias) |
| void | SetDepthClamp (bool bEnableDepthClamp) |
| void | EnableScissorTest (bool bEnableScissorTest) |
| void | SetBlendFactors (const float *BlendFactors) |
| void | SetBlendState (const BlendStateDesc &BSDsc, Uint32 SampleMask) |
| Bool | GetDepthWritesEnabled () |
| Bool | GetScissorTestEnabled () |
| void | GetColorWriteMask (Uint32 RTIndex, Uint32 &WriteMask, Bool &bIsIndependent) |
| void | SetColorWriteMask (Uint32 RTIndex, Uint32 WriteMask, Bool bIsIndependent) |
| void | GetBoundImage (Uint32 Index, GLuint &GLHandle, GLint &MipLevel, GLboolean &IsLayered, GLint &Layer, GLenum &Access, GLenum &Format) const |
| void | SetNumPatchVertices (Int32 NumVertices) |
| void | Invalidate () |
| void | InvalidateVAO () |
| void | InvalidateFBO () |
| bool | IsValidVAOBound () const |
| void | SetCurrentGLContext (GLContext::NativeGLContextType Context) |
| GLContext::NativeGLContextType | GetCurrentGLContext () const |
| const ContextCaps & | GetContextCaps () |
| Diligent::GLContextState::GLContextState | ( | class RenderDeviceGLImpl * | pDeviceGL | ) |
| void Diligent::GLContextState::BindBuffer | ( | GLenum | BindTarget, |
| const GLObjectWrappers::GLBufferObj & | Buff, | ||
| bool | ResetVAO | ||
| ) |
| void Diligent::GLContextState::BindFBO | ( | const GLObjectWrappers::GLFrameBufferObj & | FBO | ) |
| void Diligent::GLContextState::BindImage | ( | Uint32 | Index, |
| class BufferViewGLImpl * | pBuffView, | ||
| GLenum | Access, | ||
| GLenum | Format | ||
| ) |
| void Diligent::GLContextState::BindImage | ( | Uint32 | Index, |
| class TextureViewGLImpl * | pTexView, | ||
| GLint | MipLevel, | ||
| GLboolean | IsLayered, | ||
| GLint | Layer, | ||
| GLenum | Access, | ||
| GLenum | Format | ||
| ) |
| void Diligent::GLContextState::BindSampler | ( | Uint32 | Index, |
| const GLObjectWrappers::GLSamplerObj & | GLSampler | ||
| ) |
| void Diligent::GLContextState::BindStorageBlock | ( | Int32 | Index, |
| const GLObjectWrappers::GLBufferObj & | Buff, | ||
| GLintptr | Offset, | ||
| GLsizeiptr | Size | ||
| ) |
| void Diligent::GLContextState::BindTexture | ( | Int32 | Index, |
| GLenum | BindTarget, | ||
| const GLObjectWrappers::GLTextureObj & | Tex | ||
| ) |
| void Diligent::GLContextState::BindUniformBuffer | ( | Int32 | Index, |
| const GLObjectWrappers::GLBufferObj & | Buff | ||
| ) |
| void Diligent::GLContextState::BindVAO | ( | const GLObjectWrappers::GLVertexArrayObj & | VAO | ) |
| void Diligent::GLContextState::EnableDepthTest | ( | bool | bEnable | ) |
| void Diligent::GLContextState::EnableDepthWrites | ( | bool | bEnable | ) |
| void Diligent::GLContextState::EnableScissorTest | ( | bool | bEnableScissorTest | ) |
| void Diligent::GLContextState::EnableStencilTest | ( | bool | bEnable | ) |
| void Diligent::GLContextState::EnsureMemoryBarrier | ( | MEMORY_BARRIER | RequiredBarriers, |
| class AsyncWritableResource * | pRes = nullptr |
||
| ) |
| void Diligent::GLContextState::GetBoundImage | ( | Uint32 | Index, |
| GLuint & | GLHandle, | ||
| GLint & | MipLevel, | ||
| GLboolean & | IsLayered, | ||
| GLint & | Layer, | ||
| GLenum & | Access, | ||
| GLenum & | Format | ||
| ) | const |
| void Diligent::GLContextState::GetColorWriteMask | ( | Uint32 | RTIndex, |
| Uint32 & | WriteMask, | ||
| Bool & | bIsIndependent | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Diligent::GLContextState::Invalidate | ( | ) |
|
inline |
|
inline |
|
inline |
| void Diligent::GLContextState::SetActiveTexture | ( | Int32 | Index | ) |
| void Diligent::GLContextState::SetBlendFactors | ( | const float * | BlendFactors | ) |
| void Diligent::GLContextState::SetBlendState | ( | const BlendStateDesc & | BSDsc, |
| Uint32 | SampleMask | ||
| ) |
| void Diligent::GLContextState::SetColorWriteMask | ( | Uint32 | RTIndex, |
| Uint32 | WriteMask, | ||
| Bool | bIsIndependent | ||
| ) |
| void Diligent::GLContextState::SetCullMode | ( | CULL_MODE | CullMode | ) |
|
inline |
| void Diligent::GLContextState::SetDepthBias | ( | float | DepthBias, |
| float | fSlopeScaledDepthBias | ||
| ) |
| void Diligent::GLContextState::SetDepthClamp | ( | bool | bEnableDepthClamp | ) |
| void Diligent::GLContextState::SetDepthFunc | ( | COMPARISON_FUNCTION | CmpFunc | ) |
| void Diligent::GLContextState::SetFillMode | ( | FILL_MODE | FillMode | ) |
| void Diligent::GLContextState::SetFrontFace | ( | bool | FrontCounterClockwise | ) |
| void Diligent::GLContextState::SetNumPatchVertices | ( | Int32 | NumVertices | ) |
| void Diligent::GLContextState::SetPendingMemoryBarriers | ( | MEMORY_BARRIER | PendingBarriers | ) |
| void Diligent::GLContextState::SetPipeline | ( | const GLObjectWrappers::GLPipelineObj & | GLPipeline | ) |
| void Diligent::GLContextState::SetProgram | ( | const GLObjectWrappers::GLProgramObj & | GLProgram | ) |
| void Diligent::GLContextState::SetStencilFunc | ( | GLenum | Face, |
| COMPARISON_FUNCTION | Func, | ||
| Int32 | Ref, | ||
| Uint32 | Mask | ||
| ) |
| void Diligent::GLContextState::SetStencilOp | ( | GLenum | Face, |
| STENCIL_OP | StencilFailOp, | ||
| STENCIL_OP | StencilDepthFailOp, | ||
| STENCIL_OP | StencilPassOp | ||
| ) |
| void Diligent::GLContextState::SetStencilRef | ( | GLenum | Face, |
| Int32 | Ref | ||
| ) |
| void Diligent::GLContextState::SetStencilWriteMask | ( | Uint8 | StencilWriteMask | ) |
1.8.17