HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GR_PointSplatVK.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GR_PointSplatVK ( GR Library, C++)
7
*
8
* COMMENTS:
9
*/
10
#ifndef GR_PointSplatVK_h
11
#define GR_PointSplatVK_h
12
13
#include "
GR_GeoRenderVK.h
"
14
15
class
GR_API
GR_PointSplatVK
:
public
GR_GeoRenderVK
16
{
17
public
:
18
GR_PointSplatVK
(
GR_Primitive
*prim);
19
~
GR_PointSplatVK
()
override
;
20
21
const
char
*
className
()
const override
22
{
return
"GR_PointSplatVK"
; }
23
24
void
update
(
RE_RenderContext
r
,
25
const
GT_PrimitiveHandle
&primh,
26
const
GR_UpdateParms
&parms,
27
const
char
*
cache_name
)
override
;
28
29
void
draw
(
RE_RenderContext
r
,
30
GR_RenderMode
mode
,
31
GR_RenderFlags
flags
,
32
GR_DrawParms
dp)
override
;
33
34
exint
getNumGLPrimitives
()
const override
;
35
bool
hasTransparency
()
const override
{
return
myHasAlpha; }
36
37
static
bool
initShaders(
RV_Instance
* inst);
38
static
void
cleanupShaders();
39
private
:
40
41
int
myMaterialID = 0;
42
bool
myHasCdAttrib =
false
;
43
bool
myHasAlphaAttrib =
false
;
44
bool
myHasAlpha =
false
;
45
bool
myObjectSelected =
false
;
46
};
47
48
#endif
flags
GLbitfield flags
Definition:
glcorearb.h:1596
GR_GeoRender::draw
virtual void draw(RE_RenderContext r, GR_RenderMode mode, GR_RenderFlags flags, GR_DrawParms draw_parms)=0
Normal drawing method. Only issue rendering commands.
GR_PointSplatVK::hasTransparency
bool hasTransparency() const override
returns true if this drawable renders some transparent elements
Definition:
GR_PointSplatVK.h:35
GR_GeoRenderVK
Definition:
GR_GeoRenderVK.h:63
exint
int64 exint
Definition:
SYS_Types.h:125
GT_Names::cache_name
GT_API const UT_StringHolder cache_name
RE_RenderContext
Temporary container for either a RV_Render and an RE_Render.
Definition:
RE_RenderContext.h:23
GR_GeoRender::getNumGLPrimitives
virtual exint getNumGLPrimitives() const =0
GR_UpdateParms
set of parameters sent to GR_Primitive::update()
Definition:
GR_UpdateParms.h:37
GR_Primitive
Definition:
GR_Primitive.h:55
GR_RenderMode
GR_RenderMode
Definition:
GR_Defines.h:48
GR_DrawParms
Definition:
GR_DrawParms.h:19
GR_PointSplatVK::className
const char * className() const override
Definition:
GR_PointSplatVK.h:21
GR_API
#define GR_API
Definition:
GR_API.h:10
UT_IntrusivePtr< GT_Primitive >
GR_RenderFlags
GR_RenderFlags
Definition:
GR_Defines.h:86
RV_Instance
Handle to the main interface of Vulkan.
Definition:
RV_Instance.h:38
GR_PointSplatVK
Definition:
GR_PointSplatVK.h:15
mode
GLenum mode
Definition:
glcorearb.h:99
GR_GeoRenderVK.h
GR_GeoRender::update
virtual void update(RE_RenderContext r, const GT_PrimitiveHandle &primh, const GR_UpdateParms &p, const char *cache_name)=0
r
GLboolean r
Definition:
glcorearb.h:1222
GR
GR_PointSplatVK.h
Generated on Sun Nov 17 2024 03:01:14 for HDK by
1.8.6