NAP
nap
system_modules
naprender
src
structbufferdescriptor.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
#pragma once
5
6
// External includes
7
#include <nap/resourceptr.h>
8
#include <nap/numeric.h>
9
10
namespace
nap
11
{
12
// Forward declares
13
class
UniformStruct;
14
22
struct
StructBufferDescriptor
23
{
24
public
:
25
ResourcePtr<UniformStruct>
mElement
;
26
uint
mCount
= 1;
27
};
28
}
nap::uint
unsigned int uint
Definition:
numeric.h:23
nap::rtti::ObjectPtr
Definition:
objectptr.h:154
nap::StructBufferDescriptor::mCount
uint mCount
Property 'Count': The number of elements the buffer consists of.
Definition:
structbufferdescriptor.h:26
nap::StructBufferDescriptor
Definition:
structbufferdescriptor.h:22
nap
Definition:
templateapp.h:17
nap::StructBufferDescriptor::mElement
ResourcePtr< UniformStruct > mElement
Property 'Element': The layout of a single struct buffer element.
Definition:
structbufferdescriptor.h:25
Generated by doxygen