entry point for gdk-graphics
Definition graphics_context.h:21
virtual model_ptr_type make_model(const gdk::model::usage_hint, const model_data &vertexData)=0
make a model
virtual ~context()=default
virtual destructor
virtual model_ptr_type make_model()=0
make an empty model
virtual scene_ptr_type make_scene()=0
makes a scene
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 shader_ptr_type get_alpha_cutoff_shader() const =0
Basic unlit forward renderer program: Attributes:
virtual camera_ptr_type make_camera()=0
makes a camera
virtual model_ptr_type get_cube_model() const =0
a 1x1x1 cube model
virtual texture_camera_ptr_type make_texture_camera()=0
makes a texture_camera
virtual texture_ptr_type make_texture()=0
make an empty texture
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 entity_ptr_type make_entity(const const_model_ptr_type pModel, const const_material_ptr_type pMaterial)=0
make an entity
wrap_mode
behavior when sampling outside of the normalized texture range (u0-1, v0-1)
Definition texture.h:31
@ repeat
sampled values repeat. e.g: {2,2}, {3,3}, 100,100} would all sample {1,1}
Definition texture.h:33
provides a pointer a contiguous list of channel data representing 2D texture metadata that contains i...
Definition texture_data.h:20