HC_Show_Shader_Texture_Def

bool HC_Show_Shader_Texture_Def(Key texture_key, int *name_size, char *name, int *width, int *height, int *depth, int *array_size, int *mipmap_levels, int *format_size, char *format, int *options_size, char *options, int *data_slice_size, void **data)
bool HC_Show_Shader_Texture_Def(Key texture_key, int name_size, char name, int width, int height, int depth, int array_size, int mipmap_levels, int format_size, char format, int options_size, char options, int data_slice_size, void data)

Returns the data associated with the shader texture definition.

HC_Define_Shader_Texture, HC_Show_Shader_Texture_Def_Size

Parameters

texture_key: The key of the texture, returned by Define_Shader_Texture.

name_size: The size of the texture name, in bytes. May be null if value is not needed. Returned to the user.

name: The texture name. May be null if value is not needed. Returned to the user.

width: The width of the texture. May be null if value is not needed. Returned to the user.

height: The height of the texture. May be null if value is not needed. Returned to the user.

depth: The depth of the texture. May be null if value is not needed. Returned to the user.

array_size: The array size of the texture. May be null if value is not needed. Returned to the user.

mipmap_levels: The number of mipmap levels for the texture. May be null if value is not needed. Returned to the user.

format_size: The size of the texture format, in bytes. May be null if value is not needed. Returned to the user.

format: The texture format. May be null if value is not needed. Returned to the user.

options_size: The size of the texture options, in bytes. May be null if value is not needed. Returned to the user.

options: The texture options. May be null if value is not needed. Returned to the user.

data_slice_size: The size of a texture slice (width * height * depth * format_byte_size), in bytes. May be null if value is not needed. Returned to the user.

data: The texture data - a 2D array of array_size entries each containing arrays with data_slice_size bytes. May be null if value is not needed. Returned to the user.

Returns

True if the returned data is valid. Otherwise, will return false.