![]() |
gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
|
brief webgl1/gles2.0 context implementation More...
#include <webgl1es2_context.h>
Public Member Functions | |
shader_ptr_type | make_shader (const std::string_view aVertexShaderStageSourceCodeGLSL, const std::string_view aFragmentShaderStageSourceCodeGLSL) |
virtual scene_ptr_type | make_scene () override |
makes a scene | |
virtual camera_ptr_type | make_camera () override |
makes a camera | |
virtual texture_camera_ptr_type | make_texture_camera () override |
makes a texture_camera | |
virtual entity_ptr_type | make_entity (const const_model_ptr_type pModel, const const_material_ptr_type pMaterial) override |
make an entity | |
virtual material_ptr_type | make_material (const const_shader_ptr_type pShader, const material::render_mode aRenderMode, const material::face_culling_mode aface_culling_mode) override |
make a material. | |
virtual model_ptr_type | make_model () override |
make an empty model | |
virtual model_ptr_type | make_model (const gdk::model::usage_hint, const model_data &vertexDataView) override |
make a model | |
virtual texture_ptr_type | make_texture (const texture_data::view &imageView, const texture::wrap_mode, const texture::wrap_mode) override |
make a texture | |
virtual texture_ptr_type | make_texture () override |
make an empty texture | |
virtual shader_ptr_type | get_alpha_cutoff_shader () const override |
Basic unlit forward renderer program: Attributes: | |
virtual model_ptr_type | get_cube_model () const override |
a 1x1x1 cube model | |
webgl1es2_context (webgl1es2_context &&) | |
![]() | |
virtual | ~context ()=default |
virtual destructor | |
Static Public Member Functions | |
static context_ptr_type | make () |
brief webgl1/gles2.0 context implementation
|
nodiscardoverridevirtual |
Basic unlit forward renderer program: Attributes:
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
a 1x1x1 cube model
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
makes a camera
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make an entity
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make a material.
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make an empty model
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make a model
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
makes a scene
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make an empty texture
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
make a texture
Implements gdk::graphics::context.
|
nodiscardoverridevirtual |
makes a texture_camera
Implements gdk::graphics::context.