violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
violet::RendererImpl< Backend > Class Template Reference

Public Types

using EncoderType = typename Backend::EncoderType
 

Public Member Functions

Result< Unit, Errorinit (const RendererInitDescriptor &desc)
 
Result< Handle< RenderPipeline >, Errorcreate_render_pipeline (const std::string &label, const std::string &shader_source, const VertexLayoutDescriptor &desc)
 
RenderCommandEncoder< EncoderType > create_render_command_encoder (const RenderPassDescriptor &desc)
 
Result< Handle< Texture >, Errorcreate_texture (const CreateTextureDesc &desc)
 
Result< Handle< Sampler >, Errorcreate_sampler (const CreateSamplerDesc &desc)
 
template<typename T >
Result< Handle< Buffer >, Errorcreate_buffer (T data, size_t size)
 
template<typename T >
Result< Unit, Errorupdate_buffer (const Handle< Buffer > &handle, T data, size_t size)
 
template<typename T >
void update_buffer_unchecked (const Handle< Buffer > &handle, T data, size_t size)
 

The documentation for this class was generated from the following file: