primitive_assembly: Add getters for internal state
This commit is contained in:
parent
06815ec905
commit
15d14be3cc
2 changed files with 20 additions and 0 deletions
|
@ -45,6 +45,16 @@ struct PrimitiveAssembler {
|
|||
*/
|
||||
void Reconfigure(PipelineRegs::TriangleTopology topology);
|
||||
|
||||
/**
|
||||
* Is our internal state empty?
|
||||
*/
|
||||
bool IsEmpty() const;
|
||||
|
||||
/**
|
||||
* What is our triangle topology?
|
||||
*/
|
||||
PipelineRegs::TriangleTopology GetTopology() const;
|
||||
|
||||
private:
|
||||
PipelineRegs::TriangleTopology topology;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue