This document is for a version of USD that is under development. See
this page
for the current release.
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
c
d
e
f
h
i
k
l
m
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
u
Related Functions
b
g
h
o
s
t
Files
File List
File Members
All
_
a
c
g
h
j
n
o
p
s
t
u
v
w
Functions
a
c
g
h
j
n
o
p
s
t
u
v
w
Variables
Typedefs
a
g
n
p
s
t
u
Enumerations
Enumerator
Macros
_
a
g
n
p
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
writableAsset.h
Go to the documentation of this file.
1
//
2
// Copyright 2020 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_USD_AR_WRITABLE_ASSET_H
8
#define PXR_USD_AR_WRITABLE_ASSET_H
9
11
12
#include "
pxr/pxr.h
"
13
14
#include "pxr/usd/ar/api.h"
15
16
#include <cstdio>
17
18
PXR_NAMESPACE_OPEN_SCOPE
19
26
class
ArWritableAsset
27
{
28
public
:
29
AR_API
30
virtual
~ArWritableAsset
();
31
32
ArWritableAsset
(
const
ArWritableAsset
&) =
delete
;
33
ArWritableAsset
& operator=(
const
ArWritableAsset
&) =
delete
;
34
42
virtual
bool
Close
() = 0;
43
46
virtual
size_t
Write
(
const
void
* buffer,
size_t
count,
size_t
offset) = 0;
47
48
protected
:
49
AR_API
50
ArWritableAsset
();
51
};
52
53
PXR_NAMESPACE_CLOSE_SCOPE
54
55
#endif
ArWritableAsset
Interface for writing data to an asset.
Definition:
writableAsset.h:27
ArWritableAsset::Close
virtual bool Close()=0
Close this asset, performing any necessary finalization or commits of data that was previously writte...
ArWritableAsset::Write
virtual size_t Write(const void *buffer, size_t count, size_t offset)=0
Writes count bytes from buffer at offset from the beginning of the asset.
pxr.h
pxr
usd
ar
writableAsset.h
© Copyright 2024, Pixar Animation Studios. |
Terms of Use
| Generated on Fri Nov 22 2024 14:48:40 by
1.9.6