#include <BufferWriter.h>
Definition at line 380 of file BufferWriter.h.
◆ IndexWriter() [1/5]
skgpu::IndexWriter::IndexWriter |
( |
| ) |
|
|
default |
◆ IndexWriter() [2/5]
skgpu::IndexWriter::IndexWriter |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Definition at line 383 of file BufferWriter.h.
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ IndexWriter() [3/5]
skgpu::IndexWriter::IndexWriter |
( |
void * |
ptr, |
|
|
Mark |
end |
|
) |
| |
|
inline |
◆ IndexWriter() [4/5]
skgpu::IndexWriter::IndexWriter |
( |
const IndexWriter & |
| ) |
|
|
delete |
◆ IndexWriter() [5/5]
◆ makeOffset()
Definition at line 395 of file BufferWriter.h.
395 {
396 return this->BufferWriter::makeOffset<IndexWriter>(numIndices * sizeof(uint16_t));
397 }
◆ operator=() [1/2]
◆ operator=() [2/2]
Definition at line 390 of file BufferWriter.h.
390 {
392 return *this;
393 }
BufferWriter & operator=(const BufferWriter &)=delete
◆ writeArray()
void skgpu::IndexWriter::writeArray |
( |
const uint16_t * |
array, |
|
|
int |
count |
|
) |
| |
|
inline |
Definition at line 399 of file BufferWriter.h.
399 {
400 size_t arraySize =
count *
sizeof(uint16_t);
402 memcpy(
fPtr, array, arraySize);
403 fPtr = SkTAddOffset<void>(
fPtr, arraySize);
404
405 }
void validate(size_t bytesToWrite) const
◆ operator<<
Definition at line 410 of file BufferWriter.h.
410 {
411 w.validate(
sizeof(uint16_t));
412 memcpy(
w.fPtr, &val,
sizeof(uint16_t));
415}
The documentation for this struct was generated from the following file: