MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / ShaderBase

Method ShaderBase

src/Engine/ShaderDrawHelper.h:77–84  ·  view source on GitHub ↗

copy constructor

Source from the content-addressed store, hash-verified

75public:
76 ///copy constructor
77 inline ShaderBase(const ShaderBase& s):
78 _orgin(s.ptr()),
79 _range_base(s._range_base),
80 _range_domain(s.getDomain()),
81 _pitch(s.pitch())
82 {
83
84 }
85
86 /**
87 * create surface using vector `f` as data source.

Callers

nothing calls this directly

Calls 2

ptrMethod · 0.45
pitchMethod · 0.45

Tested by

no test coverage detected