compile_options_set_include_callbacks function.
shaderc_include_result * (*invoke) (
void *user_data,
char const *requested_source,
int type,
char const *requesting_source,
size_t include_depth
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static ShadercIncludeResolve | Returns: the newShadercIncludeResolveCreates a |
| public static ShadercIncludeResolve | create(ShadercIncludeResolveI instance)
Creates a |
| public static ShadercIncludeResolve |
| ShadercIncludeResolve | back to summary |
|---|---|
| protected ShadercIncludeResolve() | |
| ShadercIncludeResolve | back to summary |
|---|---|
| pack-priv ShadercIncludeResolve(long functionPointer) | |
| create | back to summary |
|---|---|
| public static ShadercIncludeResolve create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static ShadercIncludeResolve create(ShadercIncludeResolveI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static ShadercIncludeResolve createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ShadercIncludeResolveI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | invoke(long user_data, long requested_source, int type, long requesting_source, long include_depth)
Implements org. |
| delegate | back to summary |
|---|---|
| private final ShadercIncludeResolveI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, ShadercIncludeResolveI delegate) | |
| invoke | back to summary |
|---|---|
| public long invoke(long user_data, long requested_source, int type, long requesting_source, long include_depth) Implements org. Doc from org. An includer callback type for mapping an #include request to an include result. The
| |