8#ifndef META_OCEAN_RENDERING_GLES_ATTRIBUTE_H
9#define META_OCEAN_RENDERING_GLES_ATTRIBUTE_H
Attribute()
Creates a new attribute object.
ObjectType type() const override
Returns the type of this object.
static std::string translateProgramType(const GLESAttribute::ProgramType type)
Translates the program value type into a string containing the individual sub program type.
virtual ProgramType necessaryShader() const
Returns the shader type necessary to render an object with this attribute.
~GLESAttribute() override
Destructs a GLESceneGraph attribute object.
ProgramType
Definition of different shader functionalities.
Definition GLESAttribute.h:43
@ PT_TEXTURE_RGBA
Shader using one RGBA texture.
Definition GLESAttribute.h:63
@ PT_TEXT_TRANSPARENT_Y
Shader for text using a transparent grayscale texture.
Definition GLESAttribute.h:85
@ PT_TEXTURE_LIMITED_RANGE
The texture holds a pixel format with a limited value range, a pixel format has a full value range by...
Definition GLESAttribute.h:79
@ PT_CUSTOM
The shader is a custom shader.
Definition GLESAttribute.h:93
@ PT_UNKNOWN
Not specified shader program.
Definition GLESAttribute.h:45
@ PT_TEXTURES
Shader using multiple textures only.
Definition GLESAttribute.h:77
@ PT_TEXTURE_Y_VU12
Shader using one Y_VU12 texture.
Definition GLESAttribute.h:73
@ PT_TEXTURE_LOWER_LEFT
Shader using one lower left oriented texture.
Definition GLESAttribute.h:57
@ PT_POINTS
Shader using a static color and rendering points.
Definition GLESAttribute.h:49
@ PT_TEXTURE_Y
Shader using one Y texture.
Definition GLESAttribute.h:61
@ PT_PHANTOM_VIDEO_TEXTURE_COORDINATES_FAST
Shader for phantom video textures used in video see-through Augmented Reality.
Definition GLESAttribute.h:83
@ PT_TEXTURE_Y_U_V12
Shader using one Y_U_V12 texture.
Definition GLESAttribute.h:75
@ PI_DEBUG_GRAY
Shader using a default gray material color.
Definition GLESAttribute.h:51
@ PT_MATERIAL
Shader using material.
Definition GLESAttribute.h:53
@ PT_PHANTOM_VIDEO_FAST
Shader for phantom objects using video see-through Augmented Reality.
Definition GLESAttribute.h:81
@ PT_STATIC_COLOR
Shader using a static color.
Definition GLESAttribute.h:47
@ PT_TEXTURE_YVU24
Shader using one YVU24 texture.
Definition GLESAttribute.h:69
@ PT_TEXTURE_UPPER_LEFT
Shader using one upper left oriented texture.
Definition GLESAttribute.h:59
@ PT_TEXTURE_Y_UV12
Shader using one Y_UV12 texture.
Definition GLESAttribute.h:71
@ PT_PENDING
Shader waiting for more specific information.
Definition GLESAttribute.h:91
@ PT_TEXT_OPAQUE_Y
Shader for text using an opaque grayscale texture.
Definition GLESAttribute.h:87
@ PT_TEXTURE_BGRA
Shader using one BGRA texture.
Definition GLESAttribute.h:65
@ PT_LIGHT
Shader using light.
Definition GLESAttribute.h:55
@ PT_TEXTURE_YUV24
Shader using one YUV24 texture.
Definition GLESAttribute.h:67
@ PT_COLOR_ID
Shader for color ids.
Definition GLESAttribute.h:89
virtual void bindAttribute(const GLESFramebuffer &framebuffer, GLESShaderProgram &shaderProgram)=0
Binds this attribute.
GLESAttribute()
Creates a new GLESceneGraph attribute object.
virtual void unbindAttribute()
Unbinds this attribute.
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
GLESObject()
Creates a new GLESceneGraph object.
This class implements a container for an OpenGL ES shader program.
Definition GLESShaderProgram.h:53
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15