#include <kanzi/core.ui/graphics/format.hpp>
#include <kanzi/core/cpp/vector.hpp>
#include <kanzi/core/cpp/string.hpp>
#include <kanzi/core/cpp/string_view.hpp>
#include <kanzi/core/cpp/optional.hpp>
Classes | |
class | kanzi::VertexAttribute |
A base class for mesh and shader program vertex attributes. More... | |
class | kanzi::MeshVertexAttribute |
MeshVertexAttribute describes how mesh vertex data is stored in memory. More... | |
class | kanzi::ShaderVertexAttribute |
ShaderVertexAttribute describes the attributes that shader program will read when executed by graphics device. More... | |
Namespaces | |
kanzi | |
Macros | |
#define | KANZI_RENDERER_MAX_TEXTURE_UNITS |
Maximum number of supported texture units. More... | |
#define | KANZI_RENDERER_MAX_VERTEX_ATTRIBUTES |
Maximum amount of shader vertex attributes. More... | |
#define | KANZI_RENDERER_BUFFER_VALUE_NONE |
Null value for vertex and index buffers. More... | |
#define | KANZI_RENDERER_ENABLE_UNIFORM_CACHE |
Flag for rendering client vertex arrays using VBO. More... | |
#define | KANZI_GPU_BUFFER_MANAGER_ENABLED |
Is the GPU buffer manager in use. More... | |
Typedefs | |
typedef vector< MeshVertexAttribute > | kanzi::MeshAttributeCollection |
typedef MeshAttributeCollection::iterator | kanzi::MeshAttributeCollectionIterator |
typedef MeshAttributeCollection::const_iterator | kanzi::MeshAttributeCollectionConstIterator |
typedef vector< ShaderVertexAttribute > | kanzi::ShaderAttributeCollection |
typedef ShaderAttributeCollection::iterator | kanzi::ShaderAttributeCollectionIterator |
typedef ShaderAttributeCollection::const_iterator | kanzi::ShaderAttributeCollectionConstIterator |
Functions | |
void | kanzi::swap (VertexAttribute &attribute1, VertexAttribute &attribute2) |
void | kanzi::swap (MeshVertexAttribute &attribute1, MeshVertexAttribute &attribute2) |
void | kanzi::swap (ShaderVertexAttribute &attribute1, ShaderVertexAttribute &attribute2) |
KANZI_API optional< VertexAttribute::Semantic > | kanzi::toVertexAttributeSemantic (unsigned int kzbVertexAttributeSemantic) |
Converts KZB vertex attribute semantic to runtime VertexAttribute::Semantic. More... | |
KANZI_API FixedString | kanzi::toFixedString (VertexAttribute::Semantic semantic) |
Returns human readable string for semantic. More... | |
#define KANZI_RENDERER_MAX_TEXTURE_UNITS |
Maximum number of supported texture units.
OpenGL ES 3 minimum requirements: 32 textures, max 16 used in either vertex shader or fragment shader
#define KANZI_RENDERER_MAX_VERTEX_ATTRIBUTES |
Maximum amount of shader vertex attributes.
#define KANZI_RENDERER_BUFFER_VALUE_NONE |
Null value for vertex and index buffers.
#define KANZI_RENDERER_ENABLE_UNIFORM_CACHE |
Flag for rendering client vertex arrays using VBO.
Defines if uniform cache is enabled, can be disabled if CPU is bottleneck instead of GPU.
#define KANZI_GPU_BUFFER_MANAGER_ENABLED |
Is the GPU buffer manager in use.