Shape.getTexture

Get the source texture of the shape.

If the shape has no source texture, a NULL pointer is returned. The returned pointer is const, which means that you can't modify the texture when you retrieve it with this function.

class Shape
const
const(Texture)
getTexture
()

Return Value

Type: const(Texture)

The shape's texture.

Meta