RenderMan
26.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
RixRiCtl.h
Go to the documentation of this file.
1
/*
2
# ------------------------------------------------------------------------------
3
#
4
# Copyright (c) 2021 Pixar. All rights reserved.
5
#
6
# The information in this file (the "Software") is provided for the exclusive
7
# use of the software licensees of Pixar ("Licensees"). Licensees have the
8
# right to incorporate the Software into other products for use by other
9
# authorized software licensees of Pixar, without fee. Except as expressly
10
# permitted herein, the Software may not be disclosed to third parties, copied
11
# or duplicated in any form, in whole or in part, without the prior written
12
# permission of Pixar.
13
#
14
# The copyright notices in the Software and this entire statement, including the
15
# above license grant, this restriction and the following disclaimer, must be
16
# included in all copies of the Software, in whole or in part, and all permitted
17
# derivative works of the Software, unless such copies or derivative works are
18
# solely in the form of machine-executable object code generated by a source
19
# language processor.
20
#
21
# PIXAR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
22
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL PIXAR BE
23
# LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
24
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
25
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
26
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. IN NO CASE WILL
27
# PIXAR'S TOTAL LIABILITY FOR ALL DAMAGES ARISING OUT OF OR IN CONNECTION WITH
28
# THE USE OR PERFORMANCE OF THIS SOFTWARE EXCEED $50.
29
#
30
# Pixar
31
# 1200 Park Ave
32
# Emeryville CA 94608
33
#
34
# ------------------------------------------------------------------------------
35
*/
36
37
#ifndef RixRiCtl_h
38
#define RixRiCtl_h
39
40
#include "
RixInterfaces.h
"
// for RixInterface
41
#include "ri.h"
// for RtString, RtBoolean, etc
42
43
class
Ri;
44
68
enum
RixRifEditMode
69
{
70
k_DisallowRifEdits
= 0,
71
k_AllowRifEdits
= 1,
72
k_DisallowRifDeleteEdits
= 2
73
};
74
75
class
RixRiCtl
:
public
RixInterface
76
{
77
public
:
78
80
88
virtual
int
PRManBegin
(
int
argc,
char
* argv[]) = 0;
89
94
virtual
int
PRManGo
() = 0;
95
101
virtual
int
PRManEnd
() = 0;
103
110
virtual
Ri*
GetRiCtx
() = 0;
111
115
117
virtual
void
Flush
(
118
RtString marker,
119
RtBoolean synchronous,
120
RtUString flushmode) = 0;
121
124
virtual
int
GetProgress
() = 0;
125
128
virtual
int
SetWantsProgress
(
int
wantsProgress) = 0;
129
131
virtual
void
ProcessCallbacks
() = 0;
132
134
virtual
void
Option
(RtString name, RtPointer value) = 0;
135
137
virtual
void
SetRifEditMode
(
RixRifEditMode
m) = 0;
138
140
virtual
void
RifInit
(
int
argc,
const
char
*argv[]) = 0;
141
142
// Tell prman a texture is dirty and needs to flush it from the texture cache.
143
virtual
void
InvalidateTexture
(RtUString
const
name) = 0;
144
168
175
virtual
int
PRManSystemBegin
(
int
argc,
const
char
* argv[]) = 0;
176
181
virtual
int
PRManRenderBegin
(
int
argc,
const
char
* argv[]) = 0;
182
188
virtual
int
PRManSystemEnd
() = 0;
189
191
virtual
int
PRManRenderEnd
() = 0;
193
194
protected
:
195
RixRiCtl
() :
RixInterface
(1) {}
196
virtual
~RixRiCtl
() {}
197
};
198
199
#endif
RixRiCtl.h
Generated on Fri Apr 5 2024 12:32:49 for RenderMan by
Doxygen
1.8.4
© Pixar. All Rights Reserved.