TOpenGLShader

OpenGL shader resource.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

RHIResourceType

TOpenGLShader

FOpenGLComputeShader

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLShaderResources.h

Include

#include "OpenGLShaderResources.h"

Syntax

template<typename RHIResourceType, GLenum GLTypeEnum, EShaderFrequency FrequencyT>
class TOpenGLShader : public RHIResourceType

Remarks

OpenGL shader resource.

Variables

Name Description

Public variable

FOpenGLShaderBi...

 

Bindings

External bindings for this shader.

Public variable

GLuint

 

Resource

The OpenGL resource ID.

Public variable

TArray< FUnifor...

 

StaticSlots

Static slots for each uniform buffer.

Public variable

TArray< CrossCo...

 

UniformBuffersCopyInfo

List of memory copies from RHIUniformBuffer to packed uniforms.

Constructors

Name Description

Public function

TOpenGLShader()

Constructor.

Destructors

Name Description

Public function

~TOpenGLShader()

Destructor.

Constants

Name

Description

StaticFrequency

TypeEnum