Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_vertex_format_private.h
- This file was copied to source/blender/gpu/intern/gpu_platform_private.hh.
| Show All 23 Lines | |||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| void VertexFormat_pack(GPUVertFormat *format); | struct GPUVertFormat; | ||||
| void VertexFormat_pack(struct GPUVertFormat *format); | |||||
| uint padding(uint offset, uint alignment); | uint padding(uint offset, uint alignment); | ||||
| uint vertex_buffer_size(const GPUVertFormat *format, uint vertex_len); | uint vertex_buffer_size(const struct GPUVertFormat *format, uint vertex_len); | ||||
| GLenum convert_comp_type_to_gl(GPUVertCompType type); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||