violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
violet::RenderCommandEncoder< Encoder > Struct Template Reference

Public Member Functions

void set_pipeline (const Handle< RenderPipeline > &pipeline)
 
void set_vertex_buffer (const Handle< Buffer > &handle)
 
template<typename T >
void set_vertex_bytes (const T *data, size_t size)
 
void set_texture (const Handle< Texture > &handle)
 
void set_sampler (const Handle< Sampler > &handle)
 
void draw (size_t start, size_t end)
 
void draw_indexed (const Handle< Buffer > &handle, size_t count, IndexType index_type=IndexType::Uint16)
 
void draw_instanced (size_t start, size_t end, size_t count)
 
void submit ()
 

Public Attributes

Encoder encoder
 

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