Urho3D
|
Graphics subsystem implementation. Holds API-specific objects. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/GraphicsAPI/OpenGL/OGLGraphicsImpl.h>
Public Member Functions | |
GraphicsImpl_OGL ()=default | |
Construct. | |
const SDL_GLContext & | GetGLContext () |
Return the GL Context. | |
Private Attributes | |
SDL_GLContext | context_ {} |
SDL OpenGL context. | |
unsigned | systemFBO_ {} |
iOS/tvOS system framebuffer handle. | |
unsigned | activeTexture_ {} |
Active texture unit. | |
unsigned | enabledVertexAttributes_ {} |
Enabled vertex attributes bitmask. | |
unsigned | usedVertexAttributes_ {} |
Vertex attributes bitmask used by the current shader program. | |
unsigned | instancingVertexAttributes_ {} |
Vertex attribute instancing bitmask for keeping track of divisors. | |
const HashMap< Pair< i8, i8 >, unsigned > * | vertexAttributes_ {} |
Current mapping of vertex attribute locations by semantic. The map is owned by the shader program, so care must be taken to switch a null shader program when it's destroyed. | |
unsigned | boundFBO_ {} |
Currently bound frame buffer object. | |
unsigned | boundVBO_ {} |
Currently bound vertex buffer object. | |
unsigned | boundUBO_ {} |
Currently bound uniform buffer object. | |
unsigned | resolveSrcFBO_ {} |
Read frame buffer for multisampled texture resolves. | |
unsigned | resolveDestFBO_ {} |
Write frame buffer for multisampled texture resolves. | |
int | pixelFormat_ {} |
Current pixel format. | |
HashMap< hash64, FrameBufferObject > | frameBuffers_ |
Map for FBO's per resolution and format. | |
unsigned | textureTypes_ [MAX_TEXTURE_UNITS] {} |
OpenGL texture types in use. | |
ConstantBufferMap | allConstantBuffers_ |
Constant buffer search map. | |
ConstantBuffer * | constantBuffers_ [MAX_SHADER_PARAMETER_GROUPS *2] {} |
Currently bound constant buffers. | |
Vector< ConstantBuffer * > | dirtyConstantBuffers_ |
Dirty constant buffers. | |
unsigned | lastInstanceOffset_ {} |
Last used instance data offset. | |
HashMap< unsigned, SharedPtr< Texture2D > > | depthTextures_ |
Map for additional depth textures, to emulate Direct3D9 ability to mix render texture and backbuffer rendering. | |
ShaderProgram_OGL * | shaderProgram_ {} |
Shader program in use. | |
ShaderProgramMap_OGL | shaderPrograms_ |
Linked shader programs. | |
bool | fboDirty_ {} |
Need FBO commit flag. | |
bool | vertexBuffersDirty_ {} |
Need vertex attribute pointer update flag. | |
bool | sRGBWrite_ {} |
sRGB write mode flag. | |
Friends | |
class | Graphics |
Graphics subsystem implementation. Holds API-specific objects.