MCPcopy Create free account
hub / github.com/defold/defold / SetWriteAttributeStreamDesc

Function SetWriteAttributeStreamDesc

engine/graphics/src/graphics.h:549–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547 }
548
549 static inline void SetWriteAttributeStreamDesc(WriteAttributeStreamDesc* stream, const float** data, VertexAttribute::VectorType vector_type, uint8_t stream_count, bool is_global_data)
550 {
551 stream->m_Data = data;
552 stream->m_VectorType = vector_type;
553 stream->m_StreamCount = stream_count;
554 stream->m_IsGlobalData = is_global_data;
555 }
556
557 static inline void VertexAttributeInfoMetadataMember(VertexAttributeInfoMetadata& metadata, VertexAttribute::SemanticType semantic_type, CoordinateSpace coordinate_space)
558 {

Callers 4

WriteVertexDataFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68