FFL
Loading...
Searching...
No Matches
FFLiUtilShaderAllocator.h
Go to the documentation of this file.
1#ifndef FFLI_UTIL_SHADER_ALLOCATOR_H_
2#define FFLI_UTIL_SHADER_ALLOCATOR_H_
3
4#include <nn/ffl/detail/FFLiBufferAllocator.h>
5
7{
8public:
9 FFLiUtilShaderAllocator(FFLiBufferAllocator* pAllocator, u32 numAttribs, const void* pShaderData, u32 shaderIndex);
10 FFLiUtilShaderAllocator(FFLiBufferAllocator* pAllocator, u32 numAttribs);
11
13 {
14 return m_BufferAllocatorHeader;
15 }
16
18 {
19 return m_BufferAllocatorProgram;
20 }
21
22private:
25};
27
28#endif // FFLI_UTIL_SHADER_ALLOCATOR_H_
NN_STATIC_ASSERT(sizeof(FFLiAllocator)==4)
Definition FFLiBufferAllocator.h:16
Definition FFLiUtilShaderAllocator.h:7
FFLiBufferAllocator m_BufferAllocatorProgram
Definition FFLiUtilShaderAllocator.h:24
FFLiUtilShaderAllocator(FFLiBufferAllocator *pAllocator, u32 numAttribs)
Definition FFLiUtilShaderAllocator.cpp:15
FFLiUtilShaderAllocator(FFLiBufferAllocator *pAllocator, u32 numAttribs, const void *pShaderData, u32 shaderIndex)
Definition FFLiUtilShaderAllocator.cpp:4
FFLiBufferAllocator & ProgramAllocator()
Definition FFLiUtilShaderAllocator.h:17
FFLiBufferAllocator m_BufferAllocatorHeader
Definition FFLiUtilShaderAllocator.h:23
FFLiBufferAllocator & HeaderAllocator()
Definition FFLiUtilShaderAllocator.h:12