16 [[nodiscard]]
static context_ptr_type make();
18 [[nodiscard]] shader_ptr_type make_shader(
19 const std::string_view aVertexShaderStageSourceCodeGLSL,
20 const std::string_view aFragmentShaderStageSourceCodeGLSL
23 [[nodiscard]]
virtual scene_ptr_type
make_scene()
override;
30 const const_model_ptr_type pModel,
31 const const_material_ptr_type pMaterial
35 const const_shader_ptr_type pShader,
40 [[nodiscard]]
virtual model_ptr_type
make_model()
override;
59 webgl1es2_context(webgl1es2_context &&);
61 virtual ~webgl1es2_context()
override;
entry point for gdk-graphics
Definition graphics_context.h:21
wrap_mode
behavior when sampling outside of the normalized texture range (u0-1, v0-1)
Definition texture.h:31
virtual camera_ptr_type make_camera() override
makes a camera
virtual scene_ptr_type make_scene() override
makes a scene
virtual model_ptr_type get_cube_model() const override
a 1x1x1 cube model
virtual texture_ptr_type make_texture() override
make an empty texture
virtual texture_ptr_type make_texture(const texture_data::view &imageView, const texture::wrap_mode, const texture::wrap_mode) override
make a texture
virtual model_ptr_type make_model(const gdk::model::usage_hint, const model_data &vertexDataView) override
make a model
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 shader_ptr_type get_alpha_cutoff_shader() const override
Basic unlit forward renderer program: Attributes:
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 model_ptr_type make_model() override
make an empty model
provides a pointer a contiguous list of channel data representing 2D texture metadata that contains i...
Definition texture_data.h:20