MCPcopy Create free account
hub / github.com/TankOs/SFGUI / AddTexture

Method AddTexture

src/SFGUI/Primitive.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void Primitive::AddTexture( PrimitiveTexture::Ptr texture ) {
57 m_textures.push_back( texture );
58}
59
60void Primitive::SetPosition( const sf::Vector2f& position ) {
61 m_position = position;

Callers 1

CreateSpriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected