![]() |
gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
|
entry point for gdk-graphics More...
#include <graphics_context.h>
Public Member Functions | |
factory methods | |
virtual scene_ptr_type | make_scene ()=0 |
makes a scene | |
virtual camera_ptr_type | make_camera ()=0 |
makes a camera | |
virtual texture_camera_ptr_type | make_texture_camera ()=0 |
makes a texture_camera | |
virtual entity_ptr_type | make_entity (const const_model_ptr_type pModel, const const_material_ptr_type pMaterial)=0 |
make an entity | |
virtual model_ptr_type | make_model (const gdk::model::usage_hint, const model_data &vertexData)=0 |
make a model | |
virtual model_ptr_type | make_model ()=0 |
make an empty model | |
virtual material_ptr_type | make_material (const const_shader_ptr_type pShader, const material::render_mode aRenderMode=material::render_mode::opaque, const material::face_culling_mode aFaceCullingMode=material::face_culling_mode::none)=0 |
make a material. | |
virtual texture_ptr_type | make_texture (const texture_data::view &aTextureDataView, const texture::wrap_mode aWrapModeU=texture::wrap_mode::repeat, const texture::wrap_mode aWrapModeV=texture::wrap_mode::repeat)=0 |
make a texture | |
virtual texture_ptr_type | make_texture ()=0 |
make an empty texture | |
special resources provided by the implementation | |
virtual model_ptr_type | get_cube_model () const =0 |
a 1x1x1 cube model | |
virtual shader_ptr_type | get_alpha_cutoff_shader () const =0 |
Basic unlit forward renderer program: Attributes: | |
virtual | ~context ()=default |
virtual destructor | |
entry point for gdk-graphics
|
nodiscardpure virtual |
Basic unlit forward renderer program: Attributes:
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
a 1x1x1 cube model
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
makes a camera
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make an entity
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make a material.
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make an empty model
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make a model
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
makes a scene
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make an empty texture
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
make a texture
Implemented in gdk::webgl1es2_context.
|
nodiscardpure virtual |
makes a texture_camera
Implemented in gdk::webgl1es2_context.