VR-Forces 5.0.2 Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphicsUtils
DtScopedShaderContainer.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2020 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
#pragma once
10
11
#include <
vrvGraphicsUtils/vrvGraphicsUtils.h
>
12
13
namespace
makVrv
14
{
18
class
DT_DLL_VRVGRAPHICSUTILS
DtScopedShaderContainer
19
{
20
public
:
22
DtScopedShaderContainer
();
23
25
virtual
~
DtScopedShaderContainer
();
26
private
:
28
DtScopedShaderContainer
(
const
DtScopedShaderContainer
& rhs) =
delete
;
29
31
DtScopedShaderContainer
& operator=(
const
DtScopedShaderContainer
& rhs) =
delete
;
32
public
:
33
unsigned
int
myShaderId
;
34
};
35
}
vrvGraphicsUtils.h
Dll export defines.
makVrv::DtScopedShaderContainer::myShaderId
unsigned int myShaderId
Definition:
DtScopedShaderContainer.h:33
DT_DLL_VRVGRAPHICSUTILS
#define DT_DLL_VRVGRAPHICSUTILS
Definition:
vrvGraphicsUtils.h:18
makVrv::DtScopedShaderContainer
RAII container class to delete shader after scope good for holding shaders until they are linked into...
Definition:
DtScopedShaderContainer.h:18
Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)