Saga3D API Documentation  1.0-RC4
SPushConstant.h
Go to the documentation of this file.
1 #ifndef __SPUSH_CONSTANT_H_INCLUDED__
2 #define __SPUSH_CONSTANT_H_INCLUDED__
3 
4 #include "SGPUResource.h"
5 #include <memory>
6 
7 namespace saga
8 {
9 namespace video
10 {
11  struct SPushConstant : public SGPUResource
12  {
13  std::unique_ptr<void*> Data;
14  std::size_t Size;
15  };
16 
18 
19 } // namespace scene
20 } // namespace saga
21 
22 #endif // __SPUSH_CONSTANT_H_INCLUDED__
23 
saga::video::SPushConstant
Definition: SPushConstant.h:11
saga::video::SGPUResource
Definition: SGPUResource.h:11
SGPUResource.h
saga::video::SPushConstant::Size
std::size_t Size
Definition: SPushConstant.h:14
saga::video::SPushConstant::Data
std::unique_ptr< void * > Data
Definition: SPushConstant.h:13
saga::video::SGPUResource::HandleType
std::uint32_t HandleType
Definition: SGPUResource.h:13
saga::video::PushConstantHandle
SGPUResource::HandleType PushConstantHandle
Definition: SPushConstant.h:17
saga
Definition: aabbox3d.h:11