mirror of
https://github.com/overte-org/overte.git
synced 2025-07-28 23:20:30 +02:00
INtroducing the TransformBuffer
This commit is contained in:
parent
85272a87ba
commit
fa87c68ca7
1 changed files with 36 additions and 0 deletions
36
libraries/gpu/src/gpu/Transform.h
Normal file
36
libraries/gpu/src/gpu/Transform.h
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
//
|
||||||
|
// Transform.h
|
||||||
|
// libraries/gpu/src/gpu
|
||||||
|
//
|
||||||
|
// Created by Sam Gateau on 06/12/2016.
|
||||||
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
#ifndef hifi_gpu_Transform_h
|
||||||
|
#define hifi_gpu_Transform_h
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
#include "Resource.h"
|
||||||
|
|
||||||
|
namespace gpu {
|
||||||
|
|
||||||
|
class TransformBuffer {
|
||||||
|
public:
|
||||||
|
|
||||||
|
TransformBuffer() {}
|
||||||
|
~TransformBuffer() {}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
BufferPointer _buffer;
|
||||||
|
};
|
||||||
|
typedef std::shared_ptr<TransformBuffer> TransformBufferPointer;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue