Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUMesh::State Struct Reference

Internal GPU state for pipeline compatibility. More...

#include <GPUObjects.hpp>

Public Member Functions

bool isEquivalent (const State &other) const
 

Public Attributes

std::vector< VkVertexInputAttributeDescription > attributes
 List of attributes.
 
std::vector< VkVertexInputBindingDescription > bindings
 List of bindings.
 
std::vector< VkBuffer > buffers
 Buffers used.
 
std::vector< VkDeviceSize > offsets
 Offsets in each buffer.
 

Detailed Description

Internal GPU state for pipeline compatibility.

Member Function Documentation

◆ isEquivalent()

bool GPUMesh::State::isEquivalent ( const State other) const

Check if another mesh state is compatible with this one.

Parameters
otherthe state to compare to
Returns
true if equivalent

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